Click here to Skip to main content
15,902,634 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to response WM_LBUTTONDBLCLK in the MDIClient area? Pin
huyoo14-May-04 11:56
huyoo14-May-04 11:56 
AnswerRe: How to response WM_LBUTTONDBLCLK in the MDIClient area? Pin
huyoo15-May-04 6:49
huyoo15-May-04 6:49 
GeneralConsole runtime null variables Pin
Cpudood14-May-04 11:53
Cpudood14-May-04 11:53 
GeneralRe: Console runtime null variables Pin
Maarten Kools14-May-04 12:00
professionalMaarten Kools14-May-04 12:00 
QuestionNeed to retrieve data from a dialog into my class(not MFC class) How? Pin
Larry A Mills14-May-04 11:53
Larry A Mills14-May-04 11:53 
GeneralCasting into a short from a byte array Pin
Wheatbread14-May-04 11:45
Wheatbread14-May-04 11:45 
GeneralRe: Casting into a short from a byte array Pin
Wheatbread14-May-04 11:58
Wheatbread14-May-04 11:58 
QuestionHow to get HWND of VC++ OCX from VB Client Pin
Nirav Doshi14-May-04 11:23
Nirav Doshi14-May-04 11:23 
Hello,

I've an OCX written in MFC, and am trying to use it from a VB Client.

To be able to PostMessage() within my control I need the HWND. Any VB client (as per info on the net), does not support HWND for OLE Controls (my OCX is one!).

My control's "this" has the "hWnd" as 0x00000000 when I use the OCX from a VB Client!
But it properly works from the ActiveX Test Container, or from a VC++ client.

Is this correctable, or am I doing anything wrong?

Thanks,
Rgds,

Nirav Doshi
AnswerRe: How to get HWND of VC++ OCX from VB Client Pin
Member 42102514-May-04 14:27
Member 42102514-May-04 14:27 
GeneralRe: How to get HWND of VC++ OCX from VB Client Pin
Nirav Doshi14-May-04 21:37
Nirav Doshi14-May-04 21:37 
GeneralHelp for a New programmer Pin
Anonymous14-May-04 9:42
Anonymous14-May-04 9:42 
GeneralRe: Help for a New programmer Pin
Anonymous14-May-04 10:03
Anonymous14-May-04 10:03 
GeneralRe: Help for a New programmer Pin
Anonymous14-May-04 18:50
Anonymous14-May-04 18:50 
GeneralRe: Help for a New programmer Pin
J. Eric Vaughan14-May-04 10:47
J. Eric Vaughan14-May-04 10:47 
GeneralRe: Help for a New programmer Pin
Anonymous14-May-04 18:54
Anonymous14-May-04 18:54 
GeneralRe: Help for a New programmer Pin
Cpudood14-May-04 12:00
Cpudood14-May-04 12:00 
GeneralRe: Help for a New programmer Pin
Anonymous14-May-04 19:06
Anonymous14-May-04 19:06 
GeneralActivex method Pin
Roger H Art14-May-04 9:31
sussRoger H Art14-May-04 9:31 
GeneralRe: Activex method Pin
Member 42102515-May-04 7:34
Member 42102515-May-04 7:34 
GeneralUsing fprintf in sockets Pin
pie14-May-04 9:26
pie14-May-04 9:26 
GeneralBorland to Visual C++ Conversion Pin
Bill Miller14-May-04 9:11
Bill Miller14-May-04 9:11 
GeneralRe: Borland to Visual C++ Conversion Pin
Joe Woodbury14-May-04 9:33
professionalJoe Woodbury14-May-04 9:33 
GeneralRe: Borland to Visual C++ Conversion Pin
Bill Miller14-May-04 10:49
Bill Miller14-May-04 10:49 
Generalerror PRJ0019: A tool returned an error code: Performing registration Pin
parkerpkthn14-May-04 7:51
parkerpkthn14-May-04 7:51 
GeneralRe: error PRJ0019: A tool returned an error code: Performing registration Pin
Giles14-May-04 8:58
Giles14-May-04 8:58 

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.