Hi!
Try following:
DECLARE INTEGER LockWindowUpdate in Win32API INTEGER
LockWindowUpdate(thisform.Tree.hwnd)
... add items to tree view here
LockWindowUpdate(0)
LockWindowUpdate(thisform.ListView.hwnd)
... add items to list view here
LockWindowUpdate(0)
>Hi,
> I am using treeview and listview as my user security maintenance. I have prloblem that, the screen doesn'rt refresh smoothly while I re-create the items of listview and add/remove node in treeview. I used to try FORM.LOCKSCREEN= .T. before recreate items and FORM.LOCKSCREEN = .F. after it. However it doesn't work
>
>How to make it work smoothly?
>
>Thank you
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.