Questions & observations
- Posted by George Henry <ghenryca at HOTMAIL.COM> Dec 03, 2000
- 469 views
1. Why is it that in some posts to this list, the Reply-To field of the email header contains the list's email address, and in other posts it contains the poster's email address? 2. I am now using multiple windows in my little (but growing 8^) app. I have created a secondary window that can be dismissed via an OK button or a Cancel button. I am running my app along with a couple of other Win apps. When I press OK, my program displays a message box asking for confirmation to modify data. If I confirm that intention, the data is changed and the window is closed. When the secondary window is closed, my app loses focus altogether, and one of the other running apps becomes the foreground process. On the other hand, when I press Cancel, no message box is used or needed, and when the secondary window closes, focus returns to my main window as intended. I can however cause my program to move into the background simply by inserting a call to message_box() immediately before my closeWindow() call. I have tried adding setFocus() calls before and after the closeWindow() calls, and that strategy helps not. It is evident that message_box() (or its interaction with Win32lib) is causing the problem, and I would like to a. register the observation that this behavior seems erroneous; b. ask what is the workaround, and has a fix been applied in Win32lib (if appropriate), or is a fix planned for message_box() (if appropriate)? Thanks for all info. George _____________________________________________________________________________________ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com