I would suggest you to use a Hook event system, instead of a waitevent + eventID spetially if your application will run on windows, to let drawing events be traped when a modal form is displayed, or the base form is being resized or whatever.
GUI Framework?
BlitzMax Forums/BlitzMax GUI Programming/GUI Framework?The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.