Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - modeless propertysheet
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

modeless propertysheet

 Post Reply Post Reply
Author
Message
nostromo View Drop Down
Newbie
Newbie


Joined: 01 September 2007
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote nostromo Quote  Post ReplyReply Direct Link To This Post Topic: modeless propertysheet
    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)



Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.