Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How to set width of property sheet navigator?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to set width of property sheet navigator?

 Post Reply Post Reply
Author
Message
MichaelN View Drop Down
Senior Member
Senior Member


Joined: 19 September 2006
Status: Offline
Points: 112
Post Options Post Options   Thanks (0) Thanks(0)   Quote MichaelN Quote  Post ReplyReply Direct Link To This Post Topic: How to set width of property sheet navigator?
    Posted: 25 May 2015 at 8:43pm
How do I set the width of the list area in the CXTPPropertySheet navigator CXTPPropertyPageListNavigator? For example, say I want to set the width to 250 pixels to handle longer strings?

I tried calling SetColumnWidth() which is CListBox method in the base class without success. There don't appear to be any methods to do this.

Thanks,
Michael
Back to Top
Algae View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 January 2007
Location: United States
Status: Offline
Points: 217
Post Options Post Options   Thanks (0) Thanks(0)   Quote Algae Quote  Post ReplyReply Direct Link To This Post Posted: 03 June 2015 at 3:09pm

Something like this may help you:

CXTPClientRect rc(this);
rc.right = 250;
 
m_wndTaskPanel.Create(WS_CHILD|WS_VISIBLE|WS_CLIPSIBLINGS|WS_CLIPCHILDREN|WS_TABSTOP,rc , this, 0);
 
 
 
 
 
 
Back to Top
MichaelN View Drop Down
Senior Member
Senior Member


Joined: 19 September 2006
Status: Offline
Points: 112
Post Options Post Options   Thanks (0) Thanks(0)   Quote MichaelN Quote  Post ReplyReply Direct Link To This Post Posted: 03 June 2015 at 4:01pm
Thanks!

Michael
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.156 seconds.