I agree that flicker exist in the groupbox when using augmentedResize.rex and basicResize.rex, but as Staffan say "..hardly notice any flicker, at least not so that it's disturbing in any way"
Also flickering is only there if you have the flag "show window content while dragging" set, if this flag is unset there is no flicker at all (when unset windows just outline the window size and repainting is done when sizing is ended)

If this flag could be set for individual windows/dialogs, one could decide to use that in the case there is to much flickering, for now it's a global Windows option I Believe.

On the other hand when using gbStationary.rex (stationary/fixed groupbox) I see no flicker at all, independent if the above flag is set or unset.

Your statement, ''don't use "groupbox" in resizible dialogs'' is only valid if groupbox also is resized?. Altough the flicker is hardly noticed ( this on i3, 2.13 MHz 8 Gb Ram)
My feeling is when the groupbox is fixed in size it's OK to use them without any flicker and the same for static controls and maybe a note in the manual what can be expected and how to circumvent if needed.

/hex





----- Ursprungligt Meddelande -----
Från: Mark Miesfeld <miesfeld@gmail.com>
Till: <hexit34@users.sourceforge.net> , Open Object Rexx Users <oorexx-users@lists.sourceforge.net>
Kopia:
Datum: tisdag, 15 januari 2013 23:13
Ämne: Re: [Oorexx-users] Editing list-view subitems in place; preview of ooDialog 4.2.2
On Tue, Jan 15, 2013 at 12:27 PM, hakan <hexit34@users.sourceforge.net> wrote:
I hope you mean that you can use groupboxes in resizeable dialogs as long as you keep the groupbox stationary, ie not resizing them at all, to avoid flicker,

hex,

You can use groupboxes in resizable dialogs. But, in the current implementation, there is some flicker. You can see it in the augmentedResize.rex example. When you size the dialog, you can see the text of the groupbox flicker. The alternative, will not draw the controls inside of the group box correctly. And is very, very much worse.

So, for the augmentedResize.rex dialog, you would have to decide. If the group box flicker is acceptable, then you can use the groupbox. If it is not acceptable, then you would need to design the dialog without a group box.

the same for static Controls.


From what I've seen, if the static control remains fixed in size, then the current implementation words fine. But, if you have a static control like the one in Staffan's test, the text is not drawn in the correct spot, and looks bad. If I handle the static control the same way as the group box, then that problem goes away. But, the flicker goes up.

What I'm proposing is to allow the programmer to specify if the static control should be handled like the group box, or not. That way, if your dialog has static controls and seems fine to you, then you would leave things alone. If Staffan's dialog look bad with the text painted in the wrong place, he could turn on static handling is the same as group box handling. Maybe an attribute in the ResizingAdmin:

treatStaticLikeGroupBox = .true

--
Mark Miesfeld