Click here to Skip to main content
15,896,269 members
Home / Discussions / COM
   

COM

 
AnswerRe: How to programatically move a windowless control on VB form? Pin
CodeGuy20-Aug-01 6:46
CodeGuy20-Aug-01 6:46 
QuestionHow to programatically move a windowless control on VB form? Pin
khtong20-Aug-01 6:39
khtong20-Aug-01 6:39 
GeneralIHTMLWindow2::open creating ‘No page to display’ with IE 5.0 but not IE5.5 Pin
16-Aug-01 10:49
suss16-Aug-01 10:49 
GeneralRe: IHTMLWindow2::open creating ‘No page to display’ with IE 5.0 but not IE5.5 Pin
Not Active17-Aug-01 3:41
mentorNot Active17-Aug-01 3:41 
GeneralRe: IHTMLWindow2::open creating ‘No page to display’ with IE 5.0 but not IE5.5 Pin
mwolf17-Aug-01 4:27
mwolf17-Aug-01 4:27 
Generalcalls from atl into a DLL and VC++ weirdness Pin
16-Aug-01 3:24
suss16-Aug-01 3:24 
GeneralCOM and ATL Dialogs Pin
Mark Lenz15-Aug-01 10:33
Mark Lenz15-Aug-01 10:33 
GeneralRe: COM and ATL Dialogs Pin
Aaron Schaefer20-Aug-01 5:37
Aaron Schaefer20-Aug-01 5:37 
Yes, this can be done. The dialogs you get from the ATL Wizard are just normal dialogs, but are not COM objects. Create a simple object called CMyDialogObject or whatever. Create the dialog, called CMyDialog. Embed an instance of the dialog into the simple object as a member variable, and create wrapper functions on the simple object's interface to expose whichever CDialogImpl methods you need, maybe just a DoModal for a modal dialog, or Create and Destroy for a modeless dialog. In the body of the wrapper methods, just delegate to the contained dialog instance.

You will need to use the BEGIN_MSG_MAP macro to handle windows messages, commands, etc. in your dialog class. If your dialog class contained a pointer to your simple object, it could delegate to the Fire_XXX method in the message handlers, which would cause the ATL event to fire.

Hope that helps
GeneralSeveral questions about multi dimensional SafeArray , "or" safearray challenge??? <smile> Pin
grossmay15-Aug-01 2:36
grossmay15-Aug-01 2:36 
QuestionHow to use IHTMLEditHost in combination with CHtmlView Pin
Juergen Woelke15-Aug-01 1:46
Juergen Woelke15-Aug-01 1:46 
GeneralHelp with ITypeInfo Pin
Aaron Schaefer13-Aug-01 11:21
Aaron Schaefer13-Aug-01 11:21 
GeneralRe: Help with ITypeInfo Pin
Aaron Schaefer13-Aug-01 11:40
Aaron Schaefer13-Aug-01 11:40 
GeneralWM_CREATE, CWindow and HWND Pin
13-Aug-01 7:26
suss13-Aug-01 7:26 
GeneralRe: WM_CREATE, CWindow and HWND Pin
16-Aug-01 5:52
suss16-Aug-01 5:52 
GeneralShell Extentions / EXPLORER Extentions Pin
12-Aug-01 19:54
suss12-Aug-01 19:54 
GeneralVARIANT data type?! Pin
11-Aug-01 21:28
suss11-Aug-01 21:28 
GeneralRe: VARIANT data type?! Pin
Rashid Thadha12-Aug-01 23:08
Rashid Thadha12-Aug-01 23:08 
GeneralRe: VARIANT data type?! Pin
20-Aug-01 1:06
suss20-Aug-01 1:06 
GeneralHELP!!! Advise() failes when called remotely Pin
10-Aug-01 5:45
suss10-Aug-01 5:45 
GeneralRe: HELP!!! Advise() failes when called remotely Pin
Mike Player10-Aug-01 6:14
Mike Player10-Aug-01 6:14 
GeneralRe: HELP!!! Advise() failes when called remotely Pin
Rashid Thadha10-Aug-01 6:34
Rashid Thadha10-Aug-01 6:34 
GeneralConverting types Pin
8-Aug-01 20:11
suss8-Aug-01 20:11 
GeneralEvents in ASP Pin
Member 169778-Aug-01 19:47
Member 169778-Aug-01 19:47 
GeneralPerformance: Smart pointers vs CComPtr, IDispatch vs IUnknown Pin
Joe Hastings8-Aug-01 11:43
Joe Hastings8-Aug-01 11:43 
GeneralCOM Pin
8-Aug-01 0:14
suss8-Aug-01 0:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.