Mike Sue-Ping
Cambridge, Ontario, Canada
Hi Emerson,
In Office 2003 (Outlook, Word) the content/panes only refresh/resize after the "split" operation is done. While dragging the splitter, a dark grey bar is shown and this behavior is similar to the way Gerald's version works.
I noticed that this is different from the way WindowsXP (Explorer) works.
Mike
>Hi Ben,
>
>Tks for the feedback!
>
>> 1) Objects linked to the splitter are resized with each mouse movement. It will be slow if the objects are containers with many complex controls inside. How about doing the resize only on mouse-up? (Of course you have to add an extra visible cue to show the splitter movement before mouse-up.)
>
>I'll do some tests about speed.
>
>Default windows splitter behavior is resize the objects while mouse is "moving". There's a class from Gerald Santerre (here in UT) that does the resize after mouse move ends, but I prefer the windows splitter behavior.
>
>> 2) Inside the Moved() method, you said checking variable type is slower than a Try...Catch. The following test code tells us NOT to use Try...Catch. Adding a property as a flag for checking if GetReference() has already been run may be the best way.
>
>I'll change this.
>
>Again, tks for you suggestions!
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only