Zedna Posted May 1, 2008 Share Posted May 1, 2008 (edited) Hi again Zedna Also from moving the GUIRegisterMsg($WM_PAINT, "WM_PAINT") to after the GUISetState() then the image isn't displayed till the window is tampered with. $hGUI = GUICreate("My GUI", 400, 300, -1, -1, $WS_SIZEBOX) _GDIPLUS_Startup () $hGraphics = _GDIPLUS_GraphicsCreateFromHWND ($hGUI) $hImage = _GDIPLUS_BitmapCreateFromHBITMAP ($hBitmap) GUIRegisterMsg($WM_PAINT, "WM_PAINT") GUISetState() EDIT: But you are right about resizing problem Edited May 1, 2008 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search 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