[python-win32] Canceling OnBeforeClick event in MapPoint 2006

2007-08-25 Thread Oliver T. Nelson
Some of you may have read this post over on the forums or wx mailing list, I'm hoping I can find someone that has gone through this problem already. Canceling this event in other languages seems to work just fine, but in python it doesn't work. The IDL for the function is: void BeforeClick(lo

[python-win32] is win shutting down?

2007-08-25 Thread Carl Karsten
I am guessing there is a win api that will indicate if win is shutting down. Not catch the signal that win sends (but that would be good to know too as long as we are talking about it) but I want to check as my app starts if win is shutting down, so I can abort and log "can't start, win shuttin