News:

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

iczelion tut 9 menu wont show

Started by xellos, November 02, 2010, 08:37:11 PM

Previous topic - Next topic

xellos

i think there is a error in his code because the menu wont show

dedndave

it may be - there are a few small bugs in Iczelion's tutorials
good experience to debug it, too   :U

ramguru

I think he didn't compile resource script  :8)

GregL

How many thousands of people have been through Iczelion's Tutorials?  It's funny how people never think it could be their fault.

jj2007

Quote from: ramguru on November 02, 2010, 09:39:54 PM
I think he didn't compile resource script  :8)

Xellos,
The example requires a resource file with the following text. Call it rsrc.rc, and check if your IDE has something called "build with resources" or similar.
#define IDM_HELLO 1
#define IDM_CLEAR 2
#define IDM_GETTEXT 3
#define IDM_EXIT 4

FirstMenu MENU
{
POPUP "&Test Controls"
        {
         MENUITEM "Say Hello",IDM_HELLO
         MENUITEM "Clear Edit Box",IDM_CLEAR
         MENUITEM "Get Text", IDM_GETTEXT
         MENUITEM SEPARATOR
         MENUITEM "E&xit",IDM_EXIT
        }
}