Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - SetHelpHeight of CXTPPropertyGrid
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SetHelpHeight of CXTPPropertyGrid

 Post Reply Post Reply
Author
Message
Hiroaki View Drop Down
Groupie
Groupie


Joined: 30 September 2007
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hiroaki Quote  Post ReplyReply Direct Link To This Post Topic: SetHelpHeight of CXTPPropertyGrid
    Posted: 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.

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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 February 2009 at 7:28am
Hi,
 
Yes, there have to be at least 20 pixels for main view.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Hiroaki View Drop Down
Groupie
Groupie


Joined: 30 September 2007
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hiroaki Quote  Post ReplyReply Direct Link To This Post 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. 
 
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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 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
Back to Top
Hiroaki View Drop Down
Groupie
Groupie


Joined: 30 September 2007
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hiroaki Quote  Post ReplyReply Direct Link To This Post Posted: 17 February 2009 at 7:22pm
Oleg-san
Thanks to your advice, I was able to do it.
 
 
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.062 seconds.