Click here to Skip to main content
15,907,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalnoob platform sdk/borland c++ 5.5 setup question Pin
rodent¹3-Aug-03 9:08
rodent¹3-Aug-03 9:08 
GeneralAfxWndProc hook Pin
Joe49163-Aug-03 8:44
Joe49163-Aug-03 8:44 
GeneralRe: AfxWndProc hook Pin
MAAK3-Aug-03 11:33
MAAK3-Aug-03 11:33 
GeneralRe: AfxWndProc hook Pin
Ryan Binns3-Aug-03 20:20
Ryan Binns3-Aug-03 20:20 
GeneralRe: AfxWndProc hook Pin
Joe49169-Aug-03 3:52
Joe49169-Aug-03 3:52 
GeneralRedistributing MFC from the web Pin
Shutter3-Aug-03 6:38
Shutter3-Aug-03 6:38 
GeneralRe: Redistributing MFC from the web Pin
Cathy3-Aug-03 7:54
Cathy3-Aug-03 7:54 
GeneralWindow not receiving all its messages Pin
Marcus Spitzmiller3-Aug-03 6:07
Marcus Spitzmiller3-Aug-03 6:07 
Hello -

I have a CWnd derived class which I am creating in a MFC SDI app. I create it hidden, and its job is to handle some messages generated by the back end of my app. If I fire up the app and don't touch it, everything runs fine, and all messages are received by this class. However, as soon as I start doing anything in the GUI (i.e. more messages are generated), then some of messages generated by my back end are posted but not received.

Here is how I create the class:

m_pMyWnd->CreateEx(0, _T("STATIC"), _T(""), 0, CRect(0,0, 100, 100), NULL, 0);

and another chunk of code does a postmessage to this window, but it doesnt receive the message, even though PostMessage() succeeds.

Is there a different way I should create this window to ensure that my messages will make it through?

Thanks!

Marcus Spitzmiller

"Why must life be so hard? Why must I fail at every attempt at masonry?" - Homer
GeneralRe: Window not receiving all its messages Pin
Cathy3-Aug-03 7:59
Cathy3-Aug-03 7:59 
GeneralRe: Window not receiving all its messages Pin
Marcus Spitzmiller3-Aug-03 8:08
Marcus Spitzmiller3-Aug-03 8:08 
GeneralRe: Window not receiving all its messages Pin
Cathy3-Aug-03 13:48
Cathy3-Aug-03 13:48 
GeneralRe: Window not receiving all its messages Pin
Joe Woodbury3-Aug-03 9:14
professionalJoe Woodbury3-Aug-03 9:14 
GeneralRe: Window not receiving all its messages Pin
Marcus Spitzmiller3-Aug-03 10:37
Marcus Spitzmiller3-Aug-03 10:37 
GeneralRe: Window not receiving all its messages Pin
Joe Woodbury3-Aug-03 18:11
professionalJoe Woodbury3-Aug-03 18:11 
GeneralRe: Window not receiving all its messages Pin
Marcus Spitzmiller4-Aug-03 3:20
Marcus Spitzmiller4-Aug-03 3:20 
GeneralFlat CComboBox and CIPAddressCtr Pin
Eugene Pustovoyt3-Aug-03 5:41
Eugene Pustovoyt3-Aug-03 5:41 
GeneralRe: Flat CComboBox and CIPAddressCtr Pin
PJ Arends3-Aug-03 8:45
professionalPJ Arends3-Aug-03 8:45 
GeneralRe: Flat CComboBox and CIPAddressCtr Pin
Eugene Pustovoyt3-Aug-03 9:07
Eugene Pustovoyt3-Aug-03 9:07 
GeneralRe: Flat CComboBox and CIPAddressCtr Pin
PJ Arends3-Aug-03 9:24
professionalPJ Arends3-Aug-03 9:24 
GeneralRe: Flat CComboBox and CIPAddressCtr Pin
Eugene Pustovoyt3-Aug-03 17:52
Eugene Pustovoyt3-Aug-03 17:52 
GeneralRe: Flat CComboBox and CIPAddressCtr Pin
PJ Arends3-Aug-03 18:36
professionalPJ Arends3-Aug-03 18:36 
QuestionDetected memory leaks..Did I solve it ? Pin
Hesham Amin3-Aug-03 5:03
Hesham Amin3-Aug-03 5:03 
AnswerRe: Detected memory leaks..Did I solve it ? Pin
John R. Shaw3-Aug-03 9:55
John R. Shaw3-Aug-03 9:55 
GeneralWndProc Within a class Pin
M.Mostafa3-Aug-03 1:16
M.Mostafa3-Aug-03 1:16 
GeneralRe: WndProc Within a class Pin
S O S3-Aug-03 3:15
S O S3-Aug-03 3:15 

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.