diff options
Diffstat (limited to 'iup/src/win')
-rwxr-xr-x | iup/src/win/iupwin_common.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/iup/src/win/iupwin_common.c b/iup/src/win/iupwin_common.c index 0f53e68..afa4235 100755 --- a/iup/src/win/iupwin_common.c +++ b/iup/src/win/iupwin_common.c @@ -100,6 +100,11 @@ void iupdrvRedrawNow(Ihandle *ih) RedrawWindow(ih->handle,NULL,NULL,RDW_ERASE|RDW_INVALIDATE|RDW_INTERNALPAINT|RDW_UPDATENOW); } +void iupdrvRedrawNow(Ihandle *ih, int value) +{ + SendMessage(ih->handle, WM_SETREDRAW, value ? TRUE : FALSE, 0); +} + void iupdrvPostRedraw(Ihandle *ih) { /* Post a REDRAW */ |