Where is CPropertyPage?
-
I am using IProvideTaskPage::GetPage() and want to incorporate those pages as well as my own in a Custom Task Wizard written in C#. How would one implement this in C#? CPropertyPage && CPropertySheet worked well in MFC. Sincerely, -Ron
-
RNEELY wrote: Where is CPropertyPage?
TabControl
Mazy You're face to face, With the man who sold the world - David Bowie -
Thanks Mazdak. The TabControl seems to provide the same look. IProvideTaskPage::GetPage() returns an array of HPROPSHEETPAGE. How could I use that array with the TabControl? Ziggy played guitar. Man could he play guitar. Sincerely, -Ron
Did you read the docs for
TabControl
? There's aTabPages
collection property that has a collection ofTabPage
instances. Sub-class theTabPage
if you want, but you don't need to. TheTabControl
is fully designable in VS.NET as well. Just try it out.Microsoft MVP, Visual C# My Articles