Property Pages
-
I know there are a couple of similar posts but the reason I am posting is that the other posts concern dialog boxes. My post concerns property pages. I have a toolbar with buttons, one button brings up some preferences. These preferences are not an actual dialog box but property pages. The problem is that if the user has windows already open in the application, brings up the preferences, then goes back to another window, it does what other posts have described, it gets hidden behind the other window(s) and the user can no longer click on the toolbar. The property page header does not include the flag PSH_MODELESS. I tried to use this flag but if I have the preferences window open (property pages) and I click on an open window in my application that brings up a dialog box, I cannot close my preferences window. I have to close the other dialog box first. Does anyone have any ideas how I can get around this? I don't know what to do, I am not familiar with property pages. The other bad thing is that this code is in C. I wish it was in C++ or MFC, but it isn't and I am not allowed to try to convert it. Anyone, please help!