The MASM Forum Archive 2004 to 2012

Project Support Forums => IDE Development and Support => Topic started by: KetilO on November 02, 2005, 11:34:50 AM

Title: ResEd version 1.1.2.4 released (11-02-2005)
Post by: KetilO on November 02, 2005, 11:34:50 AM
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
Title: Re: ResEd version 1.1.2.4 released (11-02-2005)
Post by: Sevag.K on November 07, 2005, 11:24:35 PM
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?

Title: Re: ResEd version 1.1.2.4 released (11-02-2005)
Post by: KetilO on November 08, 2005, 12:29:12 AM
Hi Sevag.K

There is  an option: Styles as hex

KetilO
Title: Re: ResEd version 1.1.2.4 released (11-02-2005)
Post by: Sevag.K on November 08, 2005, 01:16:59 AM
Thanks, I didn't notice that!

Title: Re: ResEd version 1.1.2.4 released (11-02-2005)
Post by: Sevag.K on November 14, 2005, 11:24:06 PM
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


Title: Re: ResEd version 1.1.2.4 released (11-02-2005)
Post by: KetilO on November 15, 2005, 08:08:56 AM
Thanks Sevag.K

Yes, NOT WS_VISIBLE is hardcoded. ResEd version 1.1.2.5 is on it's way.

KetilO
Title: Re: ResEd version 1.1.2.4 released (11-02-2005)
Post by: ramguru on November 15, 2005, 10:18:49 AM
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...
Title: Re: ResEd version 1.1.2.4 released (11-02-2005)
Post by: KetilO on November 15, 2005, 03:46:13 PM
Hi ramguru

It is not that simple. Besides win95, 98 and me compatability will be lost.

KetilO
Title: Re: ResEd version 1.1.2.4 released (11-02-2005)
Post by: ramguru on November 15, 2005, 04:01:47 PM
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
Title: Re: ResEd version 1.1.2.4 released (11-02-2005)
Post by: ramguru on November 16, 2005, 06:28:05 PM
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
Title: Re: ResEd version 1.1.2.4 released (11-02-2005)
Post by: KetilO on November 16, 2005, 08:00:47 PM
Hi ramguru

ResEd is SDI. Only one dialog is active at any time.

KetilO
Title: Re: ResEd version 1.1.2.4 released (11-02-2005)
Post by: ramguru on November 16, 2005, 08:10:07 PM
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)
Title: Re: ResEd version 1.1.2.4 released (11-02-2005)
Post by: KetilO on November 16, 2005, 10:39:50 PM
I use WM_NCACTIVATE to get an active caption.

KetilO
Title: Re: ResEd version 1.1.2.4 released (11-02-2005)
Post by: ramguru on November 17, 2005, 11:23:07 PM
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?
Title: Re: ResEd version 1.1.2.4 released (11-02-2005)
Post by: ramguru on November 23, 2005, 10:12:27 AM
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...
Title: Re: ResEd version 1.1.2.4 released (11-02-2005)
Post by: ramguru on November 23, 2005, 10:22:10 AM
Sorry, in version 1.1.2.4 the 2nd misbehaviour seems no more exists  :clap: I've tested 1.1.1.8
Title: Re: ResEd version 1.1.2.4 released (11-02-2005)
Post by: Shantanu Gadgil on December 17, 2005, 03:01:08 PM
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 ?
Title: Re: ResEd version 1.1.2.4 released (11-02-2005)
Post by: KetilO on January 11, 2006, 09:50:23 AM
Hi shantanu_gadgil

If you uncheck the MenuEx type check box in the menu editor it will be saved as MENUITEM SEPARATOR

KetilO
Title: Re: ResEd version 1.1.2.4 released (11-02-2005)
Post by: Mark Jones on January 24, 2006, 03:29:02 AM
Hi, after the domain change I think the new link is:

http://www.radasm.com/projects/ResEd.zip

Thanks KetilO. :)