[win32lib] Converting event-based system into procedural system.

new topic     » topic index » view thread      » older message » newer message

Lets say I want to wrap a collection of event handlers up as a function.
That is, I call doStuff(), it goes away and sets off the appriate
events, waiting for timers, or user input, whatever, inside the
function. Then, when the appropriate conditions are met, the function
figures out a return value, and returns it to the calling routine.

If it were using a window, I'd just use openDialog()... but it's not.
Any suggestions?
Event handlers in the window that the originating function call came
from still need to function, too.
-- 
MrTrick

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu