Click here to Skip to main content
15,904,348 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
Joe,

Thanks for the info.

I suppose I should've mentioned that the messages I'm referring to come from the WaveOut API, so they cannot be user messages. In particular, I'm handling the MM_WOM_DONE message. (See waveOutProc in the SDK doc, if you are interested.)

The reason I chose to not use the main window was for code maintainability. I am able to keep all of the waveOut code in one or two classes that I can move around as needed, this way. I'm not sure that handling it in the main window will do it either, see below...

You are correct about the messages being reflected, I think. I've noticed that the MM_WOM_DONE message comes through my main message loop and is then dispatched to this hidden class, most of them anyway. (Hence my problem - I'm not seeing all of them here, either.) Based on the way I'm creating the window (see the code in the prior post, parentwnd = NULL), I figured that the messages would come straight to this window,but I guess not.

So assuming that this is the nonUSER message I'm working with, is there a way to get it to post to the queue in my hidden window directly, instead of routing through the main message loop?

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
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 
GeneralRe: WndProc Within a class Pin
John R. Shaw3-Aug-03 10:05
John R. Shaw3-Aug-03 10:05 
Generalgetting files and directory. Pin
Anonymous3-Aug-03 0:40
Anonymous3-Aug-03 0:40 
GeneralRe: getting files and directory. Pin
HPSI3-Aug-03 0:54
HPSI3-Aug-03 0:54 
GeneralRe: getting files and directory. Pin
Bob Stanneveld3-Aug-03 7:49
Bob Stanneveld3-Aug-03 7:49 
Questionhow to get the other window's scrollbar handle ? Pin
yoyo2-Aug-03 23:22
yoyo2-Aug-03 23:22 

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.