Derek Kalweit wrote: > And if your LockScreen=.F. commands are causing flashy > updates(particularly image controls with alpha channels), here's a > work-around for that too. Create a Lockscreen_assign method, and use > this code: > > LPARAMETERS tlNewLockScreen > > IF tlNewLockScreen Then > This.LockScreen = .T. > ELSE > LockWindowUpdate(Thisform.hWnd) > > ThisForm.LockScreen = .F. > > DOEVENTS FORCE > > LockWindowUpdate( 0 ) > > ENDIF > > > Note that the API function needs to be defined ahead of time: > > DECLARE INTEGER LockWindowUpdate IN user32 INTEGER hWndLock >
Cool! What's your preference of where you'd declare that? -- Michael J. Babcock, MCP MB Software Solutions, LLC http://mbsoftwaresolutions.com http://fabmate.com "Work smarter, not harder, with MBSS custom software solutions!" _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.