Print Page | Close Window

CXTPCombobox resize

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=3185
Printed Date: 09 November 2025 at 7:34am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPCombobox resize
Posted By: jeffcmj
Subject: CXTPCombobox resize
Date Posted: 09 November 2005 at 4:07am

Hi,

In my app, I set the combobox width to 400, it works well when the combobox has enough space. But when I make the app window smaller, the combobox just disappears. Is there a way to let the combobox resize itself upon the toolbar's size is changed?




Replies:
Posted By: Oleg
Date Posted: 09 November 2005 at 7:56am

 

Try xtpFlagControlStretched flag for ComboBox

and xtpFlagStretchedShared for ToolBar.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: jeffcmj
Date Posted: 09 November 2005 at 7:33pm

Thanks.

Then how to set the initial width and the minimum size?



Posted By: Oleg
Date Posted: 10 November 2005 at 3:14am

Hi,

Minimum Size will be your initial SetWidth() call.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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