
Using PeekMessage to intercept WM_SYSCOMMAND msg
cal state long beach student here...
I'm working on my final project and I'm trying to add an
'always on top' option to the system menu. All the code
works _except_ for the PeekMessage loop that's supposed
to intercept the SYSCOMMAND message; the loop picks up the
WM_DROPFILES no problem so I'm sort of confused. Why can't
I read both messages? I can't even get VB to stop on
a breakpoint set in a Case WM_SYSCOMMAND section.
I've seen a lot in this newsgroup about msgblast.vbx and
I'm going to check that out next, but I'd really like to
avoid adding any VBX's if I can.
If it helps to know, the info I've been using came from
Daniel Appleman's VB programmers guide to the API; you
guys are right, it's a great book.
Thank you, goodbye now, take care....