c++ - Windows message 9 from GetMessage? -
edit: delete code i'd pasted here. error in code causing behavior described (missing break
in switch statement).
in switch
statement handled messages getmessage
, tossed in integer values couple of messages don't have aliases defined (using list found here: http://www.mazama.net/scheme/v12/w32message.scm) message boxes pop if 1 of these messages received. expectation unnamed messages deprecated , never show up.
i tried code under wm_activate
supposed minimize window if clicked out of it. messed up, window minimizes opens, that's not brought me here. window opens , minimizes, message box pops tell me windows sent message 9. if dismiss it, message box pops again.
so got me wondering, know event triggers message? or, matter, of integer values returned getmessage don't have alias? i've found listing windows messages omits same numbers link posted above.
low-numbered messages aren't listed in public header files deprecated windows 3.1 (or earlier) messages retained compatibility (or because no 1 @ microsoft decided of import plenty remove them).
you can find clue them in source various windows replacement projects wine or reactos. in fact, reactos headers:
#define wm_setvisible 0x00000009
this seems have been forerunner wm_showwindow
message , sent simultaneously same arguments.
i found give-and-take message 0x0004
in a newsgroup thread, reactos don't seem know about. there message described wm_sizewait
there's no clue function.
in short, these messages undocumented reason - they're not needed or used software might writing do, , should ignore them.
c++ winapi wndproc getmessage
No comments:
Post a Comment