Print Page | Close Window

modeless propertysheet

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=9524
Printed Date: 14 November 2025 at 2:34pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: modeless propertysheet
Posted By: nostromo
Subject: modeless propertysheet
Date Posted: 07 February 2008 at 2:00pm
I'd like to use CXTPPropertysheet, modeless and re-sizable.
I tried it in the PropertySheet sample and modified the OnButtonList code to display a modeless one. And it seemed to work perfect. However, in my code I don't want to use the list, so I didn't set the navigator:

//CXTPPropertyPageListNavigator* pList = new CXTPPropertyPageListNavigator();
//pList->SetListStyle(xtListBoxOffice2007);
 
//redraw problems without the following line:
//    mps.SetNavigator(pList);


    mps.AddPage(&pageProperties);
    mps.AddPage(&pageSample);
    mps.AddPage(&pageSize);

    mps.SetResizable();

    mps.Create(this);
    mps.ShowWindow(SW_SHOW);


This is where the problems start: with the default tab navigator, the groupboxes on hte pages do not redraw correctly.
Is there an easy fix for this? (without using the list navigator)

See screenshot: (note:when using the list navigator, it works perfect)
(Toolkitpro 11.2.2)






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