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

Ugly gripper in modeless CXTPPropertySheet

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


Joined: 26 May 2011
Location: Sweden
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote emen Quote  Post ReplyReply Direct Link To This Post Topic: Ugly gripper in modeless CXTPPropertySheet
    Posted: 26 May 2011 at 5:29am
The resize gripper in a modeless CXTPPropertySheet paints over the property page, anyone know how to fix this?
Code for this:
class CSamplePropertySheet : public CXTPPropertySheet
{
public:
 CSamplePropertySheet() : CXTPPropertySheet(_T("CXTPPropertyPageTreeNavigator Sample"))
 {
  AddPage(&pageProperties);
  AddPage(&pageSample2);
 
  SetResizable();
 }
 CTabTreePage pageProperties;
 CTabSamplePage pageSample2;

};

CSamplePropertySheet* ps = new CSamplePropertySheet();
ps->Create();
Thanks.

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 27 May 2011 at 3:24am
Hello,

Thanks, checking how to move it to bottom.

You can remove this gripper if add to CSamplePropertySheet

BOOL CreateClient()
{
if (!CXTPPropertySheet::CreateClient())
return FALSE;

m_scSizeIcon.DestroyWindow();

return TRUE;
}

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
emen View Drop Down
Newbie
Newbie


Joined: 26 May 2011
Location: Sweden
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote emen Quote  Post ReplyReply Direct Link To This Post Posted: 27 May 2011 at 3:47am

That's it! Smile

 

Thank you very much!
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.063 seconds.