What is the best way to prevent multiple windows from opening?
I'm opening a window within a MessageReceived() switch statement.
I've tried checking pointer and doing some other things.
I'm wondering if I'm missing something simple.
sl9c5
Dunno. Use a semaphore, or global variable to keep track of the window count. If the count is above the max number of windows, through away the message. Isn't it that simple? :?:
Thanks, I'll try some more things, I thought that there might be a standard way to keep track of the windows.
Comments
Prevent Multiple Windows from opening
Dunno. Use a semaphore, or global variable to keep track of the window count. If the count is above the max number of windows, through away the message. Isn't it that simple? :?:
Prevent Multiple Windows from opening
Thanks,
I'll try some more things, I thought that there might be a standard way to keep track of the windows.
sl9c5