hey

i've built a modal dialog box with a menu, but the problem is that now the menu for sum reason doesnt respond to the alt + letter key combination

usually if u have a menu resource like this

mainMenu MENU
BEGIN
POPUP "&File"

BEGIN
MENUITEM "&New",1
END

END

if u hit Alt+F, the File menu will open up...i have a resource file just like that, but now that i have the menu in a modal dialog box, it just doesnt respond to the alt key combo

here is the source file

http://coder.web1000.com/matrix.asm

for the resource file i have:

mainMenu MENU
BEGIN
POPUP "&File"

BEGIN
MENUITEM "&New",1
END

END


mainDlg DIALOGEX
CAPTION "main dialog"
MENU mainMenu
STYLE WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX
BEGIN
END


thanks
Posted on 2003-06-14 16:28:56 by AnotherWay83
have got it to work the way i want using trackpopupmenu but am still curious as to why it doesnt work that way
Posted on 2003-06-14 20:25:44 by AnotherWay83