Print Page | Close Window

how to change the height of CXTPPropertyGridItemE

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


Topic: how to change the height of CXTPPropertyGridItemE
Posted By: cornhead75
Subject: how to change the height of CXTPPropertyGridItemE
Date Posted: 17 August 2007 at 7:45am
how to change the height of CXTPPropertyGridItemEnum

I mean the dropdown list of CXTPPropertyGridItemEnum.

Im using Xtreme toolkit pro 9.60(there is no function - SetHeight )



Replies:
Posted By: Oleg
Date Posted: 17 August 2007 at 8:24am
Hello,
there was no method in 9.60.


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


Posted By: cornhead75
Date Posted: 17 August 2007 at 8:27am
I know there is no the function...

so,,,,,how to change the height?


Posted By: Barto
Date Posted: 20 August 2007 at 5:07am
in XTPPropertyGridInplaceList.cpp in method void CXTPPropertyGridInplaceList::Create(CXTPPropertyGridItem* pItem, CRect rect)
find:
 rect.bottom += nHeight * __min(10, GetCount()) + 2;
replace 10 by the number of items you want to display and rebuild toolkit DLL.



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