mfc >> When Using a PropertySheet in Wizard Mode Can we Change the Order of sheets at runtime
by vikrant » Wed, 03 Dec 2003 15:28:29 GMT
Hey Friends
I am creating a Wizard Using Property Sheet
According to User Selection of Data in First Page
I want that only one of the PropertySheet should be visible with a Fnish
Button
But I have added 4 More Property Pages
Whereas i want only one of them to appear.
mfc >> When Using a PropertySheet in Wizard Mode Can we Change the Order of sheets at runtime
by CheckAbdoul » Wed, 03 Dec 2003 22:45:54 GMT
Take a look at the CPropertySheet::SetActivePage() member function.
--
Cheers
Check Abdoul [VC++ MVP]
-----------------------------------
Similar Threads
1. PropertySheet in wizard mode with system menu
Hi,
how can I add a system menu to the property pages / property sheet? Using
the corresponding setting for the dialog template doesn't work.
Regards, Harald
2. Setting PropertySheet Title (Wizard mode)
3. Help w/ property sheet / wizard mode
Hello,
I have created a propertysheet and couple of property pages. They are
derived from CPropertySheet and CPropertyPage.
After the sequence of AddPage() I modifed the m_PageX.m_psp members and the
m_psh member as:
m_psh.dwFlags |= PSH_WIZARD97 | PSH_WATERMARK | PSH_HEADER;
m_psh.pszbmWatermark = MAKEINTRESOURCE(IDB_WATERMARK);
m_psh.pszbmHeader = MAKEINTRESOURCE(IDB_HEADER);
Then I change some pages as:
m_Page1.m_psp.dwFlags |= PSP_HIDEHEADER;
And:
m_Page2.m_psp.dwFlags |= PSP_USEHEADERTITLE | PSP_USEHEADERSUBTITLE;
m_Page2.m_psp.pszHeaderSubTitle = "test";
m_Page2.m_psp.pszHeaderTitle = "test";
Then I call the SetWizardMode()
I expect to see first page w/ the watermark on the left and having no
headers while page 2 having no watermark but only a header.
The watermark exists but it is not being shown on the first page!
While on page2 the header/sub header are showing but in the same color of
the dialog and not as I saw in Wiz97 sample: white background and black
font.
Why watermark is not being shown and the header fonts are not correct?
Thanks,
Elias
4. Property sheet & Wizard Mode
5. Property sheet - wizard mode
Hi,
I have a property sheet in a wizard mode. The problem is that if I switch to
the next page, on the next property page I will see the buttons from previous
page, together witih those from the next page.
I guess, the area where are no controls is not repainted, so controls from
previous page are displayed. I was trying to use Invalidate, but it doesn't
work, or I used it on a wrong place.
Any idea?
Thanks,
Lubomir
6. Changing order of property pages in sheet
7. vc 7 wizard for creating propertysheet/pages ?
Hello,
In VC 6, I could "Add to project/Components and Controls" and then choose
from the gallery the propertysheet and have a wizard assist me in building
propertysheet/page set of dialogs.
How can I do that in vc7+ ?
Regards,
Elias
8. MinimizeBox in PropertySheet Wizard