News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

ResEd 2.2.0.2 Bugtest

Started by KetilO, April 22, 2009, 11:27:03 AM

Previous topic - Next topic

KetilO

Whats new:
o Added BS_SPLITBUTTON, BS_DEFSPLITBUTTON, BS_COMMANDLINK and BS_DEFCOMMANDLINK button styles.
o Added TBS_REVERSED, TBS_DOWNISLEFT, TBS_NOTIFYBEFOREMOVE and TBS_TRANSPARENTBKGND trackbar styles.
o Added language (if any) to project items.
o Added SysLink control.
o Grids now resizes to window.
o Fixed some minor bugs.

KetilO

Update:
2009-05-06, 39 downloads

[attachment deleted by admin]

flyflyz

Hello,

I find a bug of ResEd, my OS is WinXP SP3 Chinese version. In dialog design window, when I click any component to select it, the component will jump to top-left a little, can you fix it please?

KetilO

Hi flyflyz

Just turn off Snap to Grid or adjust the grid size to suit your needs.

KetilO

flyflyz

Hi,

Sorry for my English.
I have send a mail with a vedio to your, your can see how the bug happening.

Flyflyz

KetilO


flyflyz

Hi KetilO

The option "Control Panel / Mouse / Pointer Options / Snap To" is UNCHECKED in my computer, but the bug still bechance.

seymour

Hi,
there is a couple of bugs concerning the Tools functionality.

1) If the path of the file contains dots, say "c:\projects\gcc\ver3.4.5\main.rc", the pseudovariable $ gets wrongly assigned as "c:\projects\gcc\ver3".
It seems that you should search for the dot in the string from the right, not from the left.

2) If there is more than one occurence of $ in the "command line", only the first one gets interpreted right.
Say, a file "rsrc.rc" is open. Then "windres -v -O coff -i $.rc -o $.res" is transformed into "windres -v -O coff -i rsrc.rc -o $.res"

Finally, not a bug, but ResEd doesn't recognise the TBS_DOWNISLEFT style
(http://msdn.microsoft.com/en-us/library/bb760147(VS.85).aspx), so I have to strip my rc file of the unknown constants and add them manually after editing.
How about keeping the unknown constants as literal strings rather than refusing to open the file?

Anyway, keep up the good work man.

seymour

Also, here's an idea: how about autogenerating an Accelerator table from the Menu resource?

KetilO

Hi flyflyz

I have no idea what can cause this.
Do you have more information?
Does it happend with all dialogs?

KetilO

KetilO

Hi seymour

New upload.
Missing trackbar styles added and tools bugs fixed.

Note:
Missing styles can be added with Options / Custom styles. That way you dont need to edit the script.
Your compile command can be modified to:
cmd.exe /k windres -v -O coff -i rsrc.rc -o $.res
That way you can see the result of the compilation.

KetilO

KetilO

Hi seymour

QuoteAlso, here's an idea: how about autogenerating an Accelerator table from the Menu resource?

Good idea, maybe in a later version.

KetilO

seymour

Hi.
Great, it works well now.
Also, thanks for all the tips.

About the missing styles - I should have read the Help completely, it IS there.

Also, is there a way to see the compilation results in the Output window rather than in the presistent command line window?

And, I have another bug (sort of):
The names (Project->Names) are not properly merged across resources. Try the following .rc file

#define IDR_MAIN_MENU 10000
#define IDM_FILE_OPEN 10001
#define IDM_FILE_CLOSE 10002
#define IDM_FILE_QUIT 10003
#define IDA_ACCEL1 1

IDR_MAIN_MENU MENU
BEGIN
  POPUP "File"
  BEGIN
    MENUITEM "Open file...\tF7",IDM_FILE_OPEN
    MENUITEM "Close file\tF5",IDM_FILE_CLOSE
    MENUITEM "Quit\tAlt+F4",IDM_FILE_QUIT
  END
END

IDA_ACCEL1 ACCELERATORS
BEGIN
  VK_F7,IDM_FILE_OPEN,VIRTKEY,NOINVERT
  VK_F5,IDM_FILE_CLOSE,VIRTKEY,NOINVERT
END

Then Project->Names gives this:


This is really not a big problem, however it is a consequence of the fact that the names from the Menu resource are not recognised by the Accelerator resource,
and that is a bit weird.

KetilO

Hi seymour

QuoteAlso, is there a way to see the compilation results in the Output window rather than in the presistent command line window?
No, maybe in a later version.

Names / ID's
This is a ResEd quirck. An ID of 0 simply means that the name has no ID or is defined elswhere.

KetilO

flyflyz

Hi KetilO,

The bug has happened when I set the dialog's font to Chinese font, when I set the dialog's font property to English font, the bug does not happen.

Can you send my the code part about FONT and "mouse up" event on a component, maybe I can help you to fixed the bug.

seymour

QuoteThis is a ResEd quirk.

It's OK then.