flat assembler
Message board for the users of flat assembler.

Index > Windows > popup menu from button

Author
Thread Post new topic Reply to topic
coconut



Joined: 02 Apr 2004
Posts: 326
Location: usa
coconut
having trouble getting a menu to popup when my child button is pressed. i made a sample menu:

Code:
resource menus,\
           37,LANG_ENGLISH+SUBLANG_DEFAULT,main_menu

  menu main_menu
       menuitem 'accts',0,MFR_POPUP
                menuitem 'add',IDM_ADD,0
                menuitem 'remove',IDM_RMV,0
                menuitem 'edit',IDM_EDIT,0
                menuseparator
                menuitem 'tools',IDM_TOOLS,0
                menuseparator
                menuitem 'exit',IDM_EXIT,MFR_END
       menuitem 'links',0,MFR_POPUP + MFR_END
                menuitem 'boards',IDM_BOARDS,0
                menuitem 'stats',IDM_STATS,0
                menuseparator
                menuitem 'about',IDM_ABOUT,MFR_END 
    


can anyone help me implement the code?
Post 12 Apr 2004, 03:10
View user's profile Send private message Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1137
Location: Russian Federation
comrade
GetSubMenu, TrackPopupMenu

_________________
comrade (comrade64@live.com; http://comrade.ownz.com/)
Post 12 Apr 2004, 03:29
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
coconut



Joined: 02 Apr 2004
Posts: 326
Location: usa
coconut
Post 13 Apr 2004, 04:33
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.