News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Thanks for an old answer to an old question

Started by fdelaportilla, December 05, 2010, 03:53:24 PM

Previous topic - Next topic

fdelaportilla

My thanks to Mincho Georgiev for his answer to the question 'Accelerators Q' posted by DC on February 26th, 2006. I know now why my Accelerators were not working properly.

My fault for taking the lazy's man approach to building sort of a 'generic' windows app, with a simple menu, a set of accelerators, and a couple of dialogboxes, one of them a custom aboutbox, to pass credit  to the original author of an old C program, back in 1992.

I used the ProStart Wizard for construction of a Windows App, and just trashed here and there code which might not be relevant to my simple purpose.

After modifying the message loop to include Accelerators, I was a bit discouraged when accelerators would not work after compiling resources, assembly and linkage.

After reading Mr. Georgiev's advice to DC, I realized that , in my WndProc, I was performing the secondary switch on wParam, instead of switching on LOWORD(wParam), when the message processed was WM_COMMAND.
 

I knew that becoming a member of this Forum was a good idea  :U.

Greetings to all
Fernando

hutch--

Hi Fernando,

Glad you found the place and welcome on board.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php