flat assembler
Message board for the users of flat assembler.

Index > Windows > Resource Dialog-Menu question

Author
Thread Post new topic Reply to topic
Kain



Joined: 26 Oct 2003
Posts: 108
Kain
Using FASM syntax, how do I associate a menu to a dialog (for programs that have HWND_DESKTOP as window handler).

In resource file, it looks like

Code:
...
MENU IDR_MENU      
...
    


I can translate the rest of it to FASM.
Post 02 Dec 2003, 04:55
View user's profile Send private message Reply with quote
silkodyssey



Joined: 02 Oct 2003
Posts: 205
Location: St.Vincent & the Grenadines
silkodyssey
There's a menu parameter in the dialog macro.

Code:
 
macro dialog label,title,x,y,cx,cy,style,menu,exstyle,fontname,fontsize  
    

_________________
silkodyssey
Post 02 Dec 2003, 10:10
View user's profile Send private message MSN Messenger Reply with quote
Kain



Joined: 26 Oct 2003
Posts: 108
Kain
Thanks. One of these days, I should learn how macros work.
Post 02 Dec 2003, 17:30
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.