Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - how to change the height of CXTPPropertyGridItemE
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how to change the height of CXTPPropertyGridItemE

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


Joined: 03 August 2007
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote cornhead75 Quote  Post ReplyReply Direct Link To This Post Topic: how to change the height of CXTPPropertyGridItemE
    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 )
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 17 August 2007 at 8:24am
Hello,
there was no method in 9.60.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
cornhead75 View Drop Down
Newbie
Newbie


Joined: 03 August 2007
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote cornhead75 Quote  Post ReplyReply Direct Link To This Post Posted: 17 August 2007 at 8:27am
I know there is no the function...

so,,,,,how to change the height?
Back to Top
Barto View Drop Down
Groupie
Groupie


Joined: 27 February 2005
Location: Germany
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote Barto Quote  Post ReplyReply Direct Link To This Post 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.
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.