Trying to set the width of a floating toolbar |
Post Reply |
Author | |
strider
Groupie Joined: 16 April 2008 Location: United States Status: Offline Points: 26 |
Post Options
Thanks(0)
Posted: 27 June 2008 at 3:11pm |
I have a standard toolbar with 4 custom controls on it. I would like to have the toolbar default to floating in a vertical pattern. I can get the toolbar to default to floating by using the DockToolBar command. Then I can manually resize the floating toll bar to a vertical position where the 4 controls are stacked on top of each other. However, I can't seem to progromatically do the toolbar resize. Setting the width does not. Any ideas?
|
|
ActiveX 13.2.1
Strider |
|
strider
Groupie Joined: 16 April 2008 Location: United States Status: Offline Points: 26 |
Post Options
Thanks(0)
|
I think I figured it out. I was using the width value calculated from the GetWindowRect units. The width units are much smaller. I simply needed to use the proper value to get the width to take effect. .width works like a charm!
|
|
ActiveX 13.2.1
Strider |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |