Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Margins / Gap Between Controls
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Margins / Gap Between Controls

 Post Reply Post Reply
Author
Message
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Topic: Margins / Gap Between Controls
    Posted: 22 June 2007 at 6:50am
 
In the above, how do I get a 5 pixel gap between the first button (normal toolbar button) and the combobox (text is COM1).
 
The combobox is of class CXTPControlComboBox. I can't find any member functions anywhere to help with this.
Simon HB9DRV
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: 22 June 2007 at 1:29pm
Hi.
You can show caption for combo and set some spaces for it. pCombo->SetCaption("   ");
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 22 June 2007 at 1:37pm
Originally posted by oleg oleg wrote:

Hi.
You can show caption for combo and set some spaces for it. pCombo->SetCaption("   ");
 
Great - thanks.
Simon HB9DRV
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.