flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Reverend 20 Jan 2006, 21:45
AFAIK menu captions cannot contain tabs
|
|||
![]() |
|
Tomasz Grysztar 20 Jan 2006, 21:48
It can. In FASMW source it is done the classic way:
Code: _ equ ,09h, menu main_menu menuitem '&File',0,MFR_POPUP menuitem '&New' _ 'Ctrl+N',IDM_NEW menuitem '&Open...' _ 'Ctrl+O',IDM_OPEN menuitem '&Save' _ 'Ctrl+S',IDM_SAVE menuitem 'Save &as...',IDM_SAVEAS menuseparator menuitem 'E&xit' _ 'Alt+X',IDM_EXIT,MFR_END But you can do it also like this: Code: menuitem <'&New',9,'Ctrl+N'>,IDM_NEW |
|||
![]() |
|
Bodger 20 Jan 2006, 23:59
Many, many thanks.
Yes, that construction makes sense. I'm surprised it didn't occur to me. FASM is looking better and better all the time! Right, I'm back to coding then, Bodger. _________________ -- quidquid latine dictum sit altum viditur -- |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.