Board index » Visual Studio » dialogue can not be created, needing help!!!!!!!!!!!!!!!1
|
colleenshovlin
|
|
colleenshovlin
|
dialogue can not be created, needing help!!!!!!!!!!!!!!!1
Visual Studio270
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? Thank you very much. Any suggestion is much appreciated. Jason - |
| William
Registered User |
Mon May 22 12:47:47 CDT 2006
Re:dialogue can not be created, needing help!!!!!!!!!!!!!!!1
<jianxun.s.w@gmail.com>wrote in message
QuoteI am developing some addin to a CAD software- Inventor. Now, I am 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 - |
| jianxun
Registered User |
Mon May 22 23:04:49 CDT 2006
Re:dialogue can not be created, needing help!!!!!!!!!!!!!!!1
Thanks for your help.
I have alreday post one in that forum. But no ideas got. The name and ID are all OK and I have tried it by using just a blank dialogue, and the result is the same. Regards, Jason - |
