MvGulik Posted August 3, 2006 Share Posted August 3, 2006 (edited) whatever Edited February 7, 2011 by MvGulik "Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions.""The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014) "Believing what you know ain't so" ... Knock Knock ... Link to comment Share on other sites More sharing options...
GaryFrost Posted August 3, 2006 Share Posted August 3, 2006 Documentation reference: GUISetState ( [flag [, winhandle]] ) Success: Returns 1. Failure: Returns 0. Only one window can be locked with @SW_LOCK and it is always the last one referenced. The @SW_LOCK and @SW_UNLOCK flags are very nice options to make special gui transitions possible. The fact that only one window can be locked at any given time is, or should not be a big limitation. My question: Is there a way to determent if a window is locked or not, or if the GUISetState(@SW_LOCK,...) command did or did not locked the target window. (other than doing something like a pixel scan of course.) I tried using the return code on GUISetState(@SW_LOCK,...) ,while a other window was already locked, but that always returned 1. (probably indicating that the target window handle was valid and the command was accepted by the system.) If there is no way to determent the lock/unlock state of a window, the @SW_LOCK commend is kind of reduced to being a somewhat trivial 'might work/might also not work' command. Hope there is a way around this. Thanks here's what this is built from, hence the limitations. http://msdn.microsoft.com/library/default....ntdraw_4i5h.asp SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now