magician13134 Posted May 27, 2008 Share Posted May 27, 2008 I've tried WinGetPos, WinGetClientSize, and searched the forums with no results. Neither of those update until WM_EXITSIZEMOVE Visit Magic Soft Inc. for some of my software Link to comment Share on other sites More sharing options...
Zedna Posted May 27, 2008 Share Posted May 27, 2008 Try to use WM_SIZE. I used it sucessfully. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
magician13134 Posted May 27, 2008 Author Share Posted May 27, 2008 (edited) Once that happens, it's too late for what I'm trying to do. I need to get the size of the grey border BEFORE you let go of the mouse [Edit] Ah, I found a LazyCat script that I was able to modify to do it. Here's what I did: GUIRegisterMsg(0x0214, "moving") Func moving($hWnd, $Msg, $wParam, $lParam) Local $pos = DllStructCreate("uint;uint;int;int;int;int;uint", $lParam) $string = "" For $i = 0 to 6 $string&=$i & ": " & DllStructGetData($pos, $i) & @CRLF GUICtrlSetData($edit, $i, "append") Next GUICtrlSetData($edit, $string) EndFunc Now I just need to find out how to manipulate that size... Does anyone know how to do that? [Edit] Pssh, that was in LazyCat's script too. Thanks for you help LazyCat! Edited May 27, 2008 by magician13134 Visit Magic Soft Inc. for some of my software 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