Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LockScreen?
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00491131
Message ID:
00491328
Views:
10
Ed,
Just a question for clarification. In VFP, when using ActiveX controls, the LockScreen property of the form doesn't work. We have to use the LockWindowUpdate function as well but use the hWnd property of the control. Would this be the same in VB?

>Use the LockWindowUpdate API in VB...
>
>Public Declare Function LockWindowUpdate Lib "user32" (ByVal hwndLock As Long) As Long
>
>LockWindowUpdate Me.Hwnd ' No more screen refreshes
>..
>..
>LockWindowUpdate 0 ' Unlock refresh
>
>>I'm dynamically adding columns to a listview control inside a tab page at runtime that's displaying each column being added. Is there a way to turn off screen refreshes while the columns are being added and only refresh when all columns are added?
>>
>>In VFP there's a property LockScreen that I would use for this type of use.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform