flat assembler
Message board for the users of flat assembler.
  
       
      Index
      > Windows > bug in fasm resource compiling? | 
  
| Author | 
  | 
              
| 
                  
                   Tomasz Grysztar 01 Sep 2004, 17:16 
                  Perhaps you mean the MFT_RIGHTJUSTIFY flag, standard "menuitem" macro doesn't have feature of setting type flags, but it can be easily modified:
 
                  
                Code: macro menuitem string,id,resinfo,type,status { dd type+MFT_STRING,status+0,id dw resinfo du string,0 align 4 if resinfo and MFR_END <> 0 menu_level = menu_level - 1 end if if resinfo and MFR_POPUP <> 0 menu_level = menu_level + 1 dd 0 end if if menu_level = 0 menu_size end if } And with such version of this macro you can do it this way: Code: menuitem '&Help',0, MFR_POPUP + MFR_END,MFT_RIGHTJUSTIFY  | 
              |||
                  
  | 
              
| 
                  
                   iklin 02 Sep 2004, 04:32 
                  Quote: 
 Yes. And now it works fine. I think you can do this modified "menuitem" macro standard. I like fasm for all-sufficient and maybe such macro will help somebody.  | 
              |||
                  
  | 
              
< Last Thread | Next Thread >  | 
    
Forum Rules: 
  | 
    
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.