Print Page | Close Window

How to set width of property sheet navigator?

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=22610
Printed Date: 25 December 2024 at 11:17am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to set width of property sheet navigator?
Posted By: MichaelN
Subject: How to set width of property sheet navigator?
Date 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



Replies:
Posted By: Algae
Date 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);
 
 
 
 
 
 


Posted By: MichaelN
Date Posted: 03 June 2015 at 4:01pm
Thanks!

Michael



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