Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Creating Popups with different width images
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Creating Popups with different width images

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


Joined: 02 September 2009
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote rmcmanamy Quote  Post ReplyReply Direct Link To This Post Topic: Creating Popups with different width images
    Posted: 01 October 2009 at 11:05pm
Most of my icons are 16x61 but I have a case where I want to have a Popup control that uses icons that are 80x16.  Using the SetIcon function only appears to shift where the icon is located but not actually make it use a wider icon?  Is this not possible in the CommandBars?
 
Essentially I'm trying to make something like an ImageComboBox that has the same look as the CommandBars like this.
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: 12 October 2009 at 2:47am
Hi,
 
Actually I have no problem with SetIconSize call - it resize space and uses wider icon:
 
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
rmcmanamy View Drop Down
Groupie
Groupie


Joined: 02 September 2009
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote rmcmanamy Quote  Post ReplyReply Direct Link To This Post Posted: 15 October 2009 at 9:53pm
Thanks.  Stupid me.  I was trying to use the SetIConSize on the individual popup control, not the CommandBar.
 
oControl.CommandBar.SetIconSize is what you need to do if anyone else tries it the wrong way.
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.031 seconds.