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

Changing the height of CXTPControlComboBox

 Post Reply Post Reply
Author
Message
g_j_a_i_n View Drop Down
Groupie
Groupie
Avatar

Joined: 27 August 2005
Status: Offline
Points: 94
Post Options Post Options   Thanks (0) Thanks(0)   Quote g_j_a_i_n Quote  Post ReplyReply Direct Link To This Post Topic: Changing the height of CXTPControlComboBox
    Posted: 21 November 2008 at 6:07am

Hello Dear,

I want to increase the height of the combox box (CXTPControlComboBox) in a toolbar (CXTPToolbar).

I have used the following, but it doesn't work.

CXTPToolbar::SetButtonSize(CSize(32,32));
CXTPControlComboBox::SetHeight(30);

But this doesn't increase the height of the combo box.

Thanks.

Regards,
Gautam Jain


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: 21 November 2008 at 6:21am
Hi,
Height for combo calculated using its font. Sorry can't be changed :(
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
g_j_a_i_n View Drop Down
Groupie
Groupie
Avatar

Joined: 27 August 2005
Status: Offline
Points: 94
Post Options Post Options   Thanks (0) Thanks(0)   Quote g_j_a_i_n Quote  Post ReplyReply Direct Link To This Post Posted: 21 November 2008 at 10:42pm

Thanks. Ok, can height of an edit control (CXTPControlEdit) be changed ?

If yes, how can I do that?
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: 24 November 2008 at 5:18am
Same thing :(
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.047 seconds.