Remedy for Form Flicker


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
We actually added this API call to the SF tools namespace.  It will be included in the 1.6.2 build or you could just manually call the API.

Using SF

MicroFour.StrataFrame.Tools.LockScreen.Lock(Me)
MicroFour.StrataFrame.Tools.LockScreen.Unlock()

Using WinAPI Directly (All the SF method does)

<DllImport("user32.dll")> _
Private Shared Function LockWindowUpdate(ByVal hWndLock As IntPtr) As Boolean
End Function

'-- Lock the window
LockWindowUpdate(Me.Handle)

'-- Unlock the Window
LockWindowUpdate(Intptr.Zero)



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search