Hi,

I have made several more bug fixes, plus added a
couple more features.

Some of the fixes are:

Fixed the bug for changing a Bitmap to a Icon if
the Bitmap was in a Groupbox.

Fixed the bug for changing the caption of a Listbox.

Fixed the bug for changing the caption of a Listbox
or Combobox if they are in a Groupbox.

Plus the ones that I forgot what they are.

You can now move/size the dialog from the keyboard.

You can download the complete package including
the source from my web site at:

http://asmedit.massmind.org/

or download the package excluding the source on
this post.

Updated ResEdit (03-31-2002 10:41PM)
Fixed The Svin's dialog move/size bug if the
dialog is not the default style.

Updated ResEdit (04-05-2002 02:58PM)
Changed the program so you can extract a more
variety of dialogs from resource files, plus you
no longer need to have the STYLE, EXSTYLE, or
controls on a single line for extraction.

Updated ResEdit (04-06-2002 00:25AM)
Fixed a couple of bugs from the last change I made.

Updated ResEdit (04-06-2002 01:10PM)
Fixed a couple more extraction bugs.
Fixed a extraction bug for NT, Win2k, and XP Pro.

Thanks,

Ewayne

Read the ReadmeRes file.

Previous downloads since 03-31-2002 (200).
Posted on 2002-03-31 12:46:07 by Ewayne
To The Svin:

Why don't you give me a step by step procedure
you're using to move/size the dialog from the
keybord. Then maybe I can duplicate your problem.

Example:

1. Create the dialog.
2. Press the Up Arrow key.
3. etc.

Thanks,

Ewayne
Posted on 2002-03-31 14:37:11 by Ewayne
There are only 2 steps
1. Extract dialog
2. Choose dialog in dlg window
Up Arrow Down Arrow Any Arrow don't work.
After several click \ shifts dlg it start work.
1. If you press Up Arrow it is getting smaller (hight)
2. If you press Down Arrow it is also getting smaller
3. If you press Any Arrow it is getting smaller
Sometimes when it is getting smaller (in terms of hight)
it also changes width in random directions.
Posted on 2002-03-31 15:11:52 by The Svin
I forgot to say - I checked it both on NT 4.0 and 98.
The same effect.
And the same with strange jump resizing when I touch resizing square on both OS.
May be something is going on with my hardware?
But at least I don't have such an effect with resizing any other windows.
Posted on 2002-03-31 15:41:01 by The Svin
To The Svin:

Try this:

1. Open ResEdit.
2. Don't extract a dialog!
3. Draw a new dialog.
4. Press any of the Arrow keys.
5. See if the Arrow keys work ok.

If not I will post a test ResEdit for you, so we
can see what's going on.

Thanks,

Ewayne
Posted on 2002-03-31 15:55:35 by Ewayne
Works very well with new dlg, without those strange effects.
Touching - resizing effect also disapear when I work with new created dlg.
Seems all this about only extracted dlgs.
Posted on 2002-03-31 16:09:21 by The Svin
To The Svin:

Thats good to hear, let me play with a extracted
dialog to see if I can get it to fail.

Thanks,

Ewayne
Posted on 2002-03-31 16:29:10 by Ewayne
To The Svin:

I fixed your move/size extracted dialog bug.

The problem was if the dialog did not have the
default style I did not allow for the difference
in height of the title bar or the width of the
border.

I think I fixed the clicking on the sizing handle
of a extracted dialog if the dialog is larger
then the work window.

Go to the above post in this thread for the
uodated ResEdit.

Thanks,

Ewayne
Posted on 2002-03-31 21:55:32 by Ewayne
Resizing and moving with keyboard works OK now.
Jump resizing doesn't happend anymore when I touch
sizing handles for hight but sometimes (though rarely now)
happens when I touch side sizing handles.
Posted on 2002-04-01 06:18:19 by The Svin
To The Svin:

Jump resizing doesn't happend anymore when I touch
sizing handles for hight but sometimes (though rarely now)
happens when I touch side sizing handles.

Is the dialog larger then the Work window?

Ewayne
Posted on 2002-04-01 07:58:13 by Ewayne
No, but was close to edge of disign window.
Posted on 2002-04-01 11:41:18 by The Svin
To The Svin:

Could you send me the dialog that your extracting,
so I can check out the jump, because I can not get
it to jump.

Ewayne
Posted on 2002-04-01 12:12:50 by Ewayne


#define IDD_SPPRISEM 7
#define IDE_PRISENAMEM 10
#define IDB_SAVESP 11
#define IDL_RECORDS 12

IDD_SPPRISEM DIALOGEX LOADONCALL MOVEABLE DISCARDABLE 0,0,330,128
CAPTION "????????? ??????? ???? ??? ????? ??? ?????? ??????????? ??????"
FONT 8, "MS Sans Serif"
STYLE 0x14C80800
EXSTYLE 0x00000100
BEGIN
CONTROL "",IDE_PRISENAMEM,"edit",0x50010000,5,17,318,12,0x00000200
CONTROL "?????????",IDB_SAVESP,"button",0x50010000,252,1,70,12,0x00000000
CONTROL "",IDL_RECORDS,"listbox",0x50001143,5,33,318,90,0x00000200
END
Posted on 2002-04-01 12:35:03 by The Svin
To The Svin:

I extracted the test dialog twenty times and
clicked on the left and right sizing handles and
I could not get it to jump.

The dialog is one pixel larger then the work
window, but that should not make any difference
after I made the change, you can now have a
dialog larger then the work window.

Before the program tried to keep the dialog within
the limits of the work window and thats why you
would see the jump if the dialog was larger and
you tried to do a resize.

Before you display the dialog increase the width
of ResEdit a little and see if the problem goes
away.

Thanks,

Ewayne
Posted on 2002-04-01 13:22:11 by Ewayne
I did all you suggest (I just maximized design window).
It still happens sometime while clicking right (on the user right)resize handle.
Sometimes it does sometimes it doesn't and I can't catch a system of all it.
But something I can say
1. When it happens main dlg window is growing it both direction.
2. It happens rarely after your last changings in the last ResEdit.

I live with it 'cause you implement keyboard way to resize.
But it is still like spot of imperfection on your good tool.
IMHO need to be fixed anyway.
Posted on 2002-04-01 15:00:37 by The Svin
To The Svin:

I don't want any bugs, so we will get it fixed.

But it's hard to fix something that works ok on
the system that you're testing on, I still can
not get it to fail.

When you get the problem write down the dimensions
in the popup sizing window and before you lift
the left mouse button up record the dimensions
in the properties list and let me know what they
are.

Plus let me know what the STYLE and EXSTYLE is
for the dialog.

It might help me to see whats happening.

Thanks,

Ewayne
Posted on 2002-04-01 18:03:36 by Ewayne
497 231 changed to 499 267
styles were the same as in my previous post.
And one thing more, I wasn't clear maybe before -
this jumping occures before I relise mouse button
so it happens not with btnclick but already with left btn down.
Posted on 2002-04-01 19:38:01 by The Svin
Hi all,

ResEdit has been updated.

The main changes are for the extraction routine.

One of the changes is that you no longer have to
have the STYLE, EXSTYLE, or controls on a single
line for extraction.

Goto the first post on this thread for the update.

Thanks,

Ewayne
Posted on 2002-04-05 14:13:25 by Ewayne
tested on win2k sp2

f1st: you mispelled the statusbar control in the dialog tab. you spelled it like this: statisbar

2nd: the background grid is lightly bugged. check out the picture below. with a little further testing the bottom seems to do the same.

3rd: after a groupbox is placed on the main dialog the arrow is never displayed so you cant move it like the other controls.
Posted on 2002-04-05 17:49:17 by smurf
To smurf:

1. Boy I'm sorry about the misspelling of Statusbar,
I wont't mention that you misspelled (mispelled).:)

2. The grid is ok just increase or decrease the
size of of the dialog (form window) and the grid
will look proper.

3. Click the move Groupbox checkbox then you can
move the Groupbox like the other controls.

Thanks,

Ewayne
Posted on 2002-04-05 19:35:49 by Ewayne