I am trying this in my resizing callback code:
SendMessage_(hwnd,#WM_SETREDRAW,0,0)
;Resize stuff here
SendMessage_(hwnd,#WM_SETREDRAW,1,0)
Now I need to redraw the window. How do I do this?
Beat the flicker with SendMessage_(hwnd,#WM_SETREDRAW,0,0)?
Re: Beat the flicker with SendMessage_(hwnd,#WM_SETREDRAW,0,
> I need to redraw the window
Code: Select all
InvalidateRect_(hWnd,0,#True) ; Where "hWnd" = WindowID() etc.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
-
Edwin Knoppert
- Addict

- Posts: 1073
- Joined: Fri Apr 25, 2003 11:13 pm
- Location: Netherlands
- Contact:

