Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - CommonControls Question
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CommonControls Question

 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: CommonControls Question
    Posted: 15 September 2006 at 7:47am
Hi,

I am creating a command bar with two of my own controls which can be drawn vertically or horizontally.

Which message / whatever should I detect to know whether to switch between vertical / horizontal?

Do you have an example of this - any pointers?
Simon HB9DRV
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: 18 September 2006 at 4:05am
Also - please note for the future - why not add SetHorizontalPositionOption - this way I can define what's shown in each orientation. Would be easy maybe?

I could slave two controls together and just have your fine code display the correct one.

Although vertical toolbars aren't used much I have an application where vertical slider along the side of the frame are more intuitive.
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.125 seconds.