Stony Brook index page Stony Brook Modula-2 archive and support pages

Home - News - Tips & Tricks - Library Fixes - Bugs workarounds - SB site archive

Optional resource editor patches

Frank Schoonjans, December 6, 2004

The following are 2 proposed patches for the Stony Brook resource editor.

Default button width

When you add a command button to a dialog in the Stony Brook resource editor, the button has a default width of 40 dialog units.

The recommended width for a button however is 50 units.

See:

If you want to change the default button width in the SB resource editor, you change the value 28h into 32h at offset 0003E7CCh in resedit.exe.

BS_NOTIFY style

In the SB resource editor a command button has the BS_NOTIFY style by default. For those who think this is not a sensible default, you can remove BS_NOTIFY from the default button style, by changing the value 40h into 00h at offset 0003E7B5h in resedit.exe.