1. win32lib windows won't close

Does anyone know what could cause windows created by win32lib to not close? When I click the X or press Alt-F4, it doesn't close the window or even call the w32HClose event handler. The main window does close, however. Any ideas?

new topic     » topic index » view message » categorize

2. Re: win32lib windows won't close

Ah-ha! I figured out what the problem was.

I was calling

setVisible(currWindow, True) 

instead of

openWindow(currWindow, Normal) 

Apparently, you can't close a window that hasn't been opened! o_O

Even if you made it visible.

new topic     » goto parent     » topic index » view message » categorize

3. Re: win32lib windows won't close

ryanj said...

Does anyone know what could cause windows created by win32lib to not close? When I click the X or press Alt-F4, it doesn't close the window or even call the w32HClose event handler. The main window does close, however. Any ideas?

I would look for a message box or any kind of modal window beingopen and, for some reason, not visible or obscured.

CChris

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu