Canvas Redraw - Menus/Requesters

BlitzMax Forums/MaxGUI Module/Canvas Redraw - Menus/Requesters

EOF(Posted 2007) [#1]
** Only tested on Win32 (and Max with latest gubbings) **


Issue
___________________________________________
Canvas does not redraw leaving menu and requester data visible


Reproducing the issue
___________________________________________
Run the code example
Open a menu and move across to different menus
The individual menus do not clear from the canvas area

Select a menu item
Move the Notify() requester around
Again, the canvas does not redraw to clear dialog



Other observations
___________________________________________
The menu/canvas redraw seems to work second time around
That is, the menus are cleared from the canvas after opening them again

The dialog box clears first time around when dragged. After that, the redraw issue kicks in

Same problems under Dx7/GL






skidracer(Posted 2007) [#2]
You need to use an eventhook to manage events when windows sends your your program into a modal loop (menu selection, window dragging, scrollbar dragging etc.)




EOF(Posted 2007) [#3]
Thanks for the quick repsonse skid. I'll update my code to suit.