Re: dialogue can not be created, needing help!!!!!!!!!!!!!!!1
- From: "William DePalo [MVP VC++]" <willd.no.spam@xxxxxxxx>
- Date: Mon, 22 May 2006 13:47:47 -0400
<jianxun.s.w@xxxxxxxxx> wrote in message
news:1148291988.925951.51120@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I am developing some addin to a CAD software- Inventor. Now, I am
trying to create a dialogue showing some customized information in a
ATL Object -- a EventSink which is based on IDispatch. But the dialogue
can not be created and when I use the DoModal() method, it returns the
-1.
Could any one please tell me what maybe the reason? Is there any
restriction to creat dialogues in ATL Objects, such as EventSink?
I suggest that you post again in the ATL group
microsoft.public.vc.atl
That said, are you sure that you have specified the name / id of the dialog
template correctly as well as the instance handle of the module that
contains it? Does your dialog get the WM_INITDIALOG message? If so, are you
sure that you process it correctly?
Regards,
Will
.
- Follow-Ups:
- Re: dialogue can not be created, needing help!!!!!!!!!!!!!!!1
- From: jianxun . s . w
- Re: dialogue can not be created, needing help!!!!!!!!!!!!!!!1
- References:
- dialogue can not be created, needing help!!!!!!!!!!!!!!!1
- From: jianxun . s . w
- dialogue can not be created, needing help!!!!!!!!!!!!!!!1
- Prev by Date: Re: How to increment both the pointer and the content of the pointer
- Next by Date: Writing to files
- Previous by thread: dialogue can not be created, needing help!!!!!!!!!!!!!!!1
- Next by thread: Re: dialogue can not be created, needing help!!!!!!!!!!!!!!!1
- Index(es):
Relevant Pages
|