AnsweredAssumed Answered

vrf Using the ToolHelp library: Upgrade 5 - 1 attachment

Question asked by g.nied on Sep 12, 2002
Hi Shawn,

I recognized that your treeview object halted the vee program for several
seconds when clearing all entries after pressing the OK button. This is
because windows updates the screen after each deletition. The solution is
to include the following API function of User32:
         long _stdcall ShowWindow (long hwnd, long nCmdShow)
and to change your function box after the OK button to:
         User32.showWindow(tv.hwnd,0);  (freeze the control)
         tv.Nodes.Clear();
         User32.showWindow(tv.hwnd,1);  (show the control)

You can use this method of FreezeControl-ChangeControl-ShowControl
everywhere you are performing multiple actions on the control.


begin 644 GNSoft-en.txt
M("`@("`@("!'96]R9R!.:65D#0H@("!3;V9T=V%R92U$979E;&]P;65N=`T*
M2&%N<V5S='(N-R`M(#4Q,30Y($-O;&]G;F4-"B`@("`@("`@1V5R;6%N>0T*
:($UA:6PZ(&EN9F]`9VXM<V]F='=A<F4N9&4!
`
end


---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes