>>How can I perform a LockScreen over a Treeview control when i populate the nodes? If I use LockScreen in the parent form it does do nothing.
>>
>>Thanks in advance
>>Héctor L.
>
>Hi Hector,
>
>You cannot use LockScreen on ActiveX as it has it's own window. You should try LockWindowUpdate API function, see
>
http://www.levelextreme.com/wconnect/wc.dll?UniversalThread~?2,31,3,88Both the Treeview and the Listview have an undocumented property (hwnd) that represents the control's window handle. This can be used in conjunction with the LockWindowUpdate() call. I had this tip publish in a VFUG newsletter a few months ago. It's available on-line at
www.vfug.org.
George
Ubi caritas et amor, deus ibi est