Print Page | Close Window

Aero Wizard loosing parent

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Visual C++ MFC Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=18377
Printed Date: 28 March 2024 at 8:49am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Aero Wizard loosing parent
Posted By: cpede
Subject: Aero Wizard loosing parent
Date Posted: 16 May 2011 at 8:25am
I have a problem that I have tried to work around for some time now. I have a PropertySheet wizard made using the Aero theme. When creating this I set the main window as the parent to the wizard and I can move around pages as expected.
 
1) First problem is that is shows the wizard in the task bar (on windows Vista and 7). I know that this is probably a UX design decision from MS, but I have read that it should be possible to remove the wizard from the task bar. Can anyone tell me how?
 
2) If I from within the wizard send a message to my main window, for opening e.g. a dialog I get the following problem. Since the message is calling a method setting the main window to the dialog (while the wizard is opened with the main window as the parent also), the new dialog is displayed on top of both my main window and wizard, just as I like. But when I close the dialog the wizard looses the parent to the main window, and I seems like the wizard is become modeless instead of modal?
 
Appreciate some help.
 
-cpede


-------------
Product: Xtreme ToolkitPro (20.3.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)



Replies:
Posted By: cpede
Date Posted: 18 May 2011 at 6:10am
Hmmm, I think is maybe a general question about opening a dialog with the main window as parent and then from that dialog opening a new dialog with the same main window as parent?
 
Does anyone have a suggestion?
 
When can we expect the Wizard style to be supported in CXTPPropertySheet ?
 
-cpede


-------------
Product: Xtreme ToolkitPro (20.3.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net