>Hi, all,
>
>The lockscreen property of the forms class appears to have no effect on ActiveX controls on the form. I have tried setting LockWindowUpdate in User32.dll, also to no effect.
>
>Does anyone know how to accomplish the effect of lockscreen with an ActiveX control?
>
>Thanks.
James,
It's true that LockScreen has no effect on ActiveX controls. This is because they're separate windows and Windows can only lock screen updates on one window at a time. Some ActiveX controls, such as the Treeview, have an hWnd property that can be used with LockWindowUpdate. With others, you have to use FindWindowEx() to locate the proper window handle. FWIW, I wrote an article in the VFUG newsletter (this past June I think) on doing refreshes with the TreeView control. You might want to take a look at that.
George
Ubi caritas et amor, deus ibi est