Click here to Skip to main content
15,922,427 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralPrinting with WebBrowser Control Pin
Jo Fredrickson7-Dec-03 18:10
Jo Fredrickson7-Dec-03 18:10 
GeneralRe: Printing with WebBrowser Control Pin
Kosenko Kolya19-Dec-03 0:57
Kosenko Kolya19-Dec-03 0:57 
GeneralRe: Printing with WebBrowser Control Pin
Jo Fredrickson19-Dec-03 17:07
Jo Fredrickson19-Dec-03 17:07 
GeneralPersisting STL containers to disk Pin
Jeremy Pullicino5-Dec-03 4:38
Jeremy Pullicino5-Dec-03 4:38 
GeneralRe: Persisting STL containers to disk Pin
Todd Smith5-Dec-03 5:03
Todd Smith5-Dec-03 5:03 
GeneralRe: Persisting STL containers to disk Pin
John M. Drescher15-Dec-03 7:01
John M. Drescher15-Dec-03 7:01 
GeneralRe: Persisting STL containers to disk Pin
valikac5-Dec-03 5:36
valikac5-Dec-03 5:36 
GeneralRe: Dynamically adding a ActiveX control as a resource to a project Pin
Abhishek Srivastava5-Dec-03 0:51
Abhishek Srivastava5-Dec-03 0:51 
Hi there,
please tell in detail ,what do u really mean by resource in ur project.

Although if u want to create an ACtiveX control at run time.
u can do it if u have the class id of the component selected by user.

Class CWnd * wnd =new CWnd();
and using wnd->CreateControl method and passing the Class ID of the selected ActiveX control u can create the control , and this control can be created in design mode by setting creation flag as WS_DISABLED.

u can also get its IUnknown pointer, calling GetControlIUnknown of CWnd class ,
and thru this IUnknown pointer u can get IDispatch pointer and then u can enumerate all methods and
properties of this control and even can Invoke them at run time.

u can even open the property page of this ActiveX Control using OleCreatePropertyFrame API.

Smile | :)

Regards
Abhishek Srivastava








Abhishek Srivastava
Software Engg (VC++)
India ,Noida
Mobile no 9891492921 Smile | :)

QuestionDoes WTL supports serialization? Pin
Deepa D1-Dec-03 19:55
Deepa D1-Dec-03 19:55 
AnswerRe: Does WTL supports serialization? Pin
Steve S3-Dec-03 22:21
Steve S3-Dec-03 22:21 
GeneralCMapPtrToPtr Pin
Anthony_Yio1-Dec-03 15:54
Anthony_Yio1-Dec-03 15:54 
GeneralRe: CMapPtrToPtr Pin
John M. Drescher1-Dec-03 16:51
John M. Drescher1-Dec-03 16:51 
GeneralRe: CMapPtrToPtr Pin
Michael Dunn2-Dec-03 9:25
sitebuilderMichael Dunn2-Dec-03 9:25 
GeneralSTL threading problem Pin
Josh Gray30-Nov-03 11:42
Josh Gray30-Nov-03 11:42 
GeneralRe: STL threading problem Pin
Jörgen Sigvardsson30-Nov-03 12:04
Jörgen Sigvardsson30-Nov-03 12:04 
GeneralRe: STL threading problem Pin
John M. Drescher1-Dec-03 14:19
John M. Drescher1-Dec-03 14:19 
GeneralRe: STL threading problem Pin
Josh Gray1-Dec-03 16:03
Josh Gray1-Dec-03 16:03 
Generalwsnprintf() method __defined_.h_file Pin
derik_konark29-Nov-03 23:50
derik_konark29-Nov-03 23:50 
GeneralType of Control Pane Pin
Danis Solovyov27-Nov-03 22:33
sussDanis Solovyov27-Nov-03 22:33 
Generalvector question Pin
Steve Messer27-Nov-03 10:11
Steve Messer27-Nov-03 10:11 
GeneralRe: vector question Pin
Christian Graus27-Nov-03 10:19
protectorChristian Graus27-Nov-03 10:19 
GeneralRe: vector question Pin
Steve Messer27-Nov-03 11:02
Steve Messer27-Nov-03 11:02 
GeneralRe: vector question Pin
Christian Graus27-Nov-03 11:40
protectorChristian Graus27-Nov-03 11:40 
GeneralRe: vector question Pin
Steve Messer27-Nov-03 12:19
Steve Messer27-Nov-03 12:19 
GeneralRe: vector question Pin
Steve Messer27-Nov-03 14:09
Steve Messer27-Nov-03 14:09 

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.