Whats new:
o Dialog preview
o Help ID's on dialogs, controls and menu popups
o Control default sizes (just click instedad of drawing the control)
o Individual language setting on dialogs, menus, accelerator tables and string tables.
o Accelerator table now has option to set ascii value
o ContextHelp property on dialogs
o HasStrings property on listboxes and comboboxes
o Styles and ExStyles can now be written to rc file as their defined values instead of as hex values.
o Tools and Help menu function calling improved.
o Added MESSAGETABLE resource type
+ Several minor bugfixes
Get it here (with sources):
http://radasm.visualassembler.com/projects/ResEd.zip (http://radasm.visualassembler.com/projects/ResEd.zip)
Get it here (exe only):
http://radasm.visualassembler.com/Upload/ResEd.zip (http://radasm.visualassembler.com/Upload/ResEd.zip)
KetilO
Hi Ketil,
Some versions ago, I think it started in 1.1.2.2, ResEd started writing windows constants for some values in the output file. Can you please add an option to turn this off and use the raw numbers instead?
Hi Sevag.K
There is an option: Styles as hex
KetilO
Thanks, I didn't notice that!
Hi Ketil,
It seems that WM_VISIBLE is getting through even if "Styles as Hex" is checked, particularily if "NOT" visible is desired.
Here is the section in question, if it will help
IDD_COMBAT DIALOGEX 5,5,199,160
CAPTION "Combat"
FONT 8,"Courier New",0,0
STYLE 0x10C40000
EXSTYLE 0x00000080
BEGIN
CONTROL "",IDC_COMBATVIEW,"Edit",0x50280004,0,0,199,115,0x00000201
CONTROL "Primary Attack",IDC_PATTACK,"Button",0x50010000,1,116,67,10
CONTROL "Secondary Attack",IDC_SATTACK,"Button",0x50010000,1,126,67,10
CONTROL "Defend",IDC_DEFEND,"Button",0x50010000,1,137,67,10
CONTROL "Flee",IDC_FLEE,"Button",0x50010000,1,147,67,10
CONTROL "",IDC_DISPHEALTH,"Edit",0x50010000,161,118,33,10,0x00000200
CONTROL "",IDC_DISPWILL,"Edit",0x50010000,161,128,33,10,0x00000200
CONTROL "H",0,"Static",0x50000000,154,120,7,9
CONTROL "W",0,"Static",0x50000000,154,130,7,9
CONTROL "Done",IDC_DONE,"Button",NOT WS_VISIBLE|0x40010000,168,149,26,10
END
Thanks Sevag.K
Yes, NOT WS_VISIBLE is hardcoded. ResEd version 1.1.2.5 is on it's way.
KetilO
Hi,
Could I ask UNICODE (*.rc) output instead of ANSI, besides no matter if you'll compile ANSI or UNI resource file, menu item text is stored as UNI string in binary file. So it's obvious that we're expected to enter unicode data (kind of standard :wink ) It's a matter of a couple of W's - that's it...
Hi ramguru
It is not that simple. Besides win95, 98 and me compatability will be lost.
KetilO
Your reply is OK :U your apps are great and if I want something I'm able to code it myself...or try harder way like manual rc file editing :lol
Hi again
I have one simple question :) Do you use MDI in ResEd or other trick to keep program and dialog (Add dialog) captions active at the same time ? Sorry for q. not specifically related to your tool, but I'm only started to dig into resource editor concepts deeper :toothy
Hi ramguru
ResEd is SDI. Only one dialog is active at any time.
KetilO
I think my question wasn't clear enough I mean this http://img240.imageshack.us/img240/3061/captions8uz.png ... I assume dialog isn't a drawing (you create it with CreateDialogParam* or something)
I use WM_NCACTIVATE to get an active caption.
KetilO
Thanks, KetilO
Now I'll try to figure out stuff my-self ... I'm just curious how much time it took you to write 1-st stable release of ResEd?
Hi, here is me (impertinent guest) again
I've found 2 misbehaviours and 1 (imo) bug in your dialog editor
misbehaviours:
1. let's say there is a window intersected with preview dialog and the window is topmost, when I resize preview window or drag any control in it, your app draws a nice grid :naughty: in the topmost window (nothing to do with resource editor). I still haven't figured out where is dc you're drawing (DrawFocusRect or when dragging control ... [desktop's dc ?]) in
2. when I suddenly press on any control (in preview dailog) from other active window, if that window was intersected with preview dialog (in screen coor.) the intersected part remains in preview dialog (then u must minimize/maxime for it to be erased)
imo bug:
1. let's say I'm dragging a control in preview dialog and suddenly (press alt-tab) pop-ups IM window (ICQ/Trillian - doesn't matter)... When I return to dialog editor it turns out that I'm still something dragging, but not that control :eek - I'm dragging preview dialog which supposed to remain in fixed position and when I finally manage to press somewhere, the preview dialog is moved to some pseudo-random place
P.S. I'm in half way to finish my dialog editor, so I thought It would be useful you to know what I've discovered :lol , besides this is the only way to code my dialog editor - to study others behaviour...
Sorry, in version 1.1.2.4 the 2nd misbehaviour seems no more exists :clap: I've tested 1.1.1.8
issue with:
MENUITEM SEPARATOR
ResEd saves it as "", 0x00008... something
This compiles fine in MS rc.exe but does not in WINDRES (gcc) :(
Could this be fixed ?
Hi shantanu_gadgil
If you uncheck the MenuEx type check box in the menu editor it will be saved as MENUITEM SEPARATOR
KetilO
Hi, after the domain change I think the new link is:
http://www.radasm.com/projects/ResEd.zip
Thanks KetilO. :)