![]() |
SetHelpHeight of CXTPPropertyGrid |
Post Reply
|
| Author | |
Hiroaki
Groupie
Joined: 30 September 2007 Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Topic: SetHelpHeight of CXTPPropertyGridPosted: 17 February 2009 at 7:07am |
|
Hi!
I use ToolKitPro V11.2.2 , VS2008 and Windows Vista.
I have a question about HelpHeight function of CXTPPropertyGrid. CXTPPropertyGrid prop; int a = prop.GetHelpHeight(); . .. prop.SetHelpHeight(a); Even if I set 300 in a, When prop.SetHelpHeight(a) is executes, prop.SetHelpHeight(a) becomes same as prop.SetHelpHeight(71). Is there the maximum in a? I would appreciate if you give me any advice. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 February 2009 at 7:28am |
|
Hi,
Yes, there have to be at least 20 pixels for main view.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Hiroaki
Groupie
Joined: 30 September 2007 Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 February 2009 at 8:04am |
|
Hi!
I'm afraid I do not understand Oleg's advice.
My app has 768 over pixels for main view of CXTPPropertyGrid.
Again, prop.SetHelpHeight(500) becomes same as prop.SetHelpHeight(71).
And, SetHelpHeight always become 71 even if I appoint a number exceeding 71.
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 February 2009 at 11:31am |
|
Guess you resize it to 768 pixels after you call SetHelpHeight. try to resize it before.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Hiroaki
Groupie
Joined: 30 September 2007 Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 February 2009 at 7:22pm |
|
Oleg-san
Thanks to your advice, I was able to do it.
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |