Self Posted September 2, 2009 Posted September 2, 2009 (edited) I've embedded explorer.exe into my main GUI. When GUI is resized, I do either WinMove or _WinAPI_SetWindowPos of "explorer" window. It works nearly Ok but loses parts of scrollbars during resize of the parent window... Hiding and showing explorer window helps but produses a pause and strange blinking Thanks in advance Edited September 2, 2009 by Self
Self Posted September 3, 2009 Author Posted September 3, 2009 (edited) The problem was solved by adding 2 lines around WinMove(): _WinAPI_SetWindowLong( $hExplorer, $GWL_EXSTYLE, BitOR( $WS_EX_COMPOSITED,$ExplorerExStyle ) ) WinMove( $hExplorer, "", ... ) _WinAPI_SetWindowLong( $hExplorer, $GWL_EXSTYLE, BitAND( BitNOT($WS_EX_COMPOSITED), $ExplorerExStyle ) )Hope it may help somebody... Edited September 3, 2009 by Self
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