Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Status Bar Add control
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Status Bar Add control

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


Joined: 18 May 2008
Status: Offline
Points: 31
Post Options Post Options   Thanks (0) Thanks(0)   Quote rplp4 Quote  Post ReplyReply Direct Link To This Post Topic: Status Bar Add control
    Posted: 30 June 2008 at 12:15pm

I am tring to add a combo box to the status bar.   I can do so using the combo box provided with vb6.   When I try it with CodeJock's combo box it is displayed correctly until I click the on it.   It will disappear.

 
Example:
    Set Pane = StatusBar.AddPane(ST_Layer_Combo)
    Pane.Handle = cmbLayers.hWnd
    Pane.Width = 200
    Pane.Visible = True
 
Back to Top
Bernie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 July 2007
Location: Taiwan
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bernie Quote  Post ReplyReply Direct Link To This Post Posted: 30 June 2008 at 9:34pm
Place your combobox on a PictureBox then set Pane.Handle = Picture1.hwnd
Meanwhile, In the PictureBOx Resize Event set the size of the combobox
Bernie Ho, Planning Manager + IELTS specialist + part-time programmer
Taiwan, R.O.C
Back to Top
ijwelch View Drop Down
Senior Member
Senior Member


Joined: 20 June 2006
Status: Offline
Points: 262
Post Options Post Options   Thanks (0) Thanks(0)   Quote ijwelch Quote  Post ReplyReply Direct Link To This Post Posted: 30 June 2008 at 9:37pm
Normal fix is to put combobox in picturebox controland add that to status bar.
Back to Top
rplp4 View Drop Down
Groupie
Groupie


Joined: 18 May 2008
Status: Offline
Points: 31
Post Options Post Options   Thanks (0) Thanks(0)   Quote rplp4 Quote  Post ReplyReply Direct Link To This Post Posted: 01 July 2008 at 8:43am
Thank you. 
 
I now have a problem with the height of the status bar.   It does not fit the height of the combo box.  The height of the combo box is 315.
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.203 seconds.