flat assembler
Message board for the users of flat assembler.
Index
> IDE Development > file/new,open,save,save as,RECENT,exit Goto page 1, 2 Next |
usefull and needed? | ||||||||||||||
|
||||||||||||||
Total Votes : 13 |
Author |
|
edemko 08 Mar 2010, 23:42
Those "Debug" and "Calculator" hided options too.
Debugger dialog i.e. Name,Path,Parameters too. http://OllyDbg.de http://www.sysersoft.com/download.html |
|||
08 Mar 2010, 23:42 |
|
edfed 12 Mar 2010, 17:12
the topic is only about recent feature. no more!
edfed! |
|||
12 Mar 2010, 17:12 |
|
edfed 07 Apr 2010, 20:22
up, just to have more votes.
can be fun to have 100% of 100 votes for "yesyesyes" |
|||
07 Apr 2010, 20:22 |
|
edfed 08 Apr 2010, 06:57
Quote:
amazing result but |
|||
08 Apr 2010, 06:57 |
|
revolution 08 Apr 2010, 06:59
I want to vote for the third option, don't care.
|
|||
08 Apr 2010, 06:59 |
|
revolution 08 Apr 2010, 07:01
edfed: Do you have .asm files associated with fasmw as the default editor?
|
|||
08 Apr 2010, 07:01 |
|
edfed 08 Apr 2010, 07:08
.asm, .inc. .c, .cpp. and almost, every source code files for any languages.
why? |
|||
08 Apr 2010, 07:08 |
|
revolution 08 Apr 2010, 07:11
I just thought that if you didn't, then it may be all you need to improve your coding efficiency. But since you already have that, then it doesn't matter.
|
|||
08 Apr 2010, 07:11 |
|
edfed 08 Apr 2010, 07:17
recent submenu is great for example if i have a crash of win98 (or any windows) and then, i want to restart computer, and restart fasm session.
with recent submenu, it will be easy to recover a session of 10 files ,assuming the recent list is 10 files lengh. the same is also possible if i close fasmw for example, because i want to close it and reopen it latter because i want to code again, by a compulsive desire to write mnemonics or what to my code stack file. |
|||
08 Apr 2010, 07:17 |
|
revolution 08 Apr 2010, 07:25
Perhaps you are better to get a new OS that doesn't crash!
My XP laptop is still running since August-2006 without a restart! Now that is what I call stable. |
|||
08 Apr 2010, 07:25 |
|
edfed 08 Apr 2010, 07:34
it's cool, but what i dislike with XP is the lack of good V86 platform. it doesn't accept mouse advanced functions, it doesn't accept drive operation, and mainly all I/O port are blocked and it is very long to open a v86 console.
for the moment, XP is full of attacks from the web and updates, so ... i never use XP as the main coding platform. because i cannot use hardware like i want. i still have a PC on XP, the netbook Aone. i use it ones a mounth, even it have 2* the clock, 4* the ram. one day i will have a non crashing OS, one day, in 2057, coded with fasm |
|||
08 Apr 2010, 07:34 |
|
edfed 10 Apr 2010, 12:18
Code: menu main_menu menuitem '&File',0,MFR_POPUP menuitem '&New' _ 'Ctrl+N',IDM_NEW menuitem '&Open...' _ 'Ctrl+O',IDM_OPEN menuitem 'recent',0,MFR_POPUP menuitem ' ',0 menuitem ' ',0 menuitem ' ',0 menuitem ' ',0 menuitem ' ',0 menuitem ' ',0 menuitem ' ',0 menuitem ' ',0 menuitem ' ',0 menuitem ' ',0,MFR_END menuitem '&Save' _ 'Ctrl+S',IDM_SAVE menuitem 'Save &as...',IDM_SAVEAS menuseparator menuitem 'E&xit' _ 'Alt+X',IDM_EXIT,MFR_END then, now, i have this menu. the goal is to make a silmple (?) mecanism. 1/ when we close a file, [recent] list in fasmw.ini will be updated. 2/ when we open the 'recent' popup menu, it will read info from fasmw.ini to fill in a list of recent files. up to 10 (0ah) files is a good compromise. 3/ the recent submenu should be a variable size menu. items will depend on the content of the [recent]list. then, if a file is aded, one item will be added. if a file is not really there, an item will be deleted from list. that's the point i see a bit 'obscure', how to make a variable size popup menu? Last edited by edfed on 10 Apr 2010, 12:33; edited 1 time in total |
|||
10 Apr 2010, 12:18 |
|
revolution 10 Apr 2010, 12:30
Make a minimal popup menu in the resources. And after it is loaded into the Window, then you add/remove the recent files to the menu dynamically at runtime.
|
|||
10 Apr 2010, 12:30 |
|
edfed 10 Apr 2010, 12:33
a minimal popup menu in the ressources?
what is this? and how does it looks like? |
|||
10 Apr 2010, 12:33 |
|
revolution 10 Apr 2010, 12:37
You can store menus in the resources, that is the code you show above, a structure for storing a static menu. But that structure is fixed. You have to modify menus at runtime to have them react to the current program conditions. The popup menu is the window you see when you click the "file" button in the menu bar.
|
|||
10 Apr 2010, 12:37 |
|
edfed 10 Apr 2010, 13:25
then, i can do something like that?
Code: recent menu: menuitem 'recent',0,MFR_POPUP menuitem ' ',0 menuitem ' ',0 menuitem ' ',0 menuitem ' ',0 menuitem ' ',0 menuitem ' ',0 menuitem ' ',0 menuitem ' ',0 menuitem ' ',0 menuitem ' ',0,MFR_END menu main_menu menuitem '&File',0,MFR_POPUP menuitem '&New' _ 'Ctrl+N',IDM_NEW menuitem '&Open...' _ 'Ctrl+O',IDM_OPEN dd recentmenu menuitem '&Save' _ 'Ctrl+S',IDM_SAVE menuitem 'Save &as...',IDM_SAVEAS menuseparator menuitem 'E&xit' _ 'Alt+X',IDM_EXIT,MFR_END and change the position of MFR_END? and about strings, how does they are encoded? is it possible to do that: Code: menuitem 'recent',0,MFR_POPUP menuitem recent1,0,FRM__END menuitem recent2,0,0 menuitem recent3,0,0 menuitem recent4,0,0 menuitem recent5,0,0 menuitem recent6,0,0 menuitem recent7,0,0 menuitem recent8,0,0 menuitem recent9,0,0 menuitem recenta,0,0 recent1 db ' ',0 recent2 db ' ',0 recent3 db ' ',0 recent4 db ' ',0 recent5 db ' ',0 recent6 db ' ',0 recent7 db ' ',0 recent8 db ' ',0 recent9 db ' ',0 recentA db ' ',0 first 0 used as it is, the action ID, and second 0, reserved for variable FRM_END flaging? just questions because i don't know any of the windows macro system. |
|||
10 Apr 2010, 13:25 |
|
revolution 10 Apr 2010, 13:30
You add items through the API: InsertMenuItem
Quote: The InsertMenuItem function inserts a new menu item at the specified position in a menu. |
|||
10 Apr 2010, 13:30 |
|
Picnic 20 Sep 2010, 20:52
A Recent Files option in the file menu is not a bad idea
|
|||
20 Sep 2010, 20:52 |
|
edfed 02 Nov 2010, 13:58
another idea of the same type would be to have a listing button instead of build symbols.
symbols are not easy to use in order to debug a code. i use listing to see where is the reported error located in code. for that, i am reading the IDE source and don't find how i can call listing.exe i order to create listing file, and then, open it in a new tab in fasmw. |
|||
02 Nov 2010, 13:58 |
|
Goto page 1, 2 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.