nf67 Posted March 23, 2010 Posted March 23, 2010 When using WinMove() to resize a window the shadow of that window isn't properly displayed after it's been resized.When resizing it manually there's no problem, obviously.Here's a comparison:Notice the little grey corner and the fact that the shadow is missing.Also, after dragging it the window snaps back to its original size and shadow's fine again.Is there a fix for this?Thanks in advance
GodlessSinner Posted March 23, 2010 Posted March 23, 2010 (edited) Try $handle = WinGetHandle(needed window, "") Redraw($handle) Func Redraw($handle) DllCall("user32.dll", "long", "SendMessage", "hwnd", $handle, "int", 0x111, "int", 28931, "int", 0) EndFunc after resizing Edited March 23, 2010 by Godless _____________________________________________________________________________
nf67 Posted March 24, 2010 Author Posted March 24, 2010 Would you mind explaining this code :-)? I'll see if it works in a sec, thanks for your reply!
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