![]() |
Drop Down Color Picker |
Post Reply
|
| Author | ||
Toxick
Newbie
Joined: 16 June 2005 Location: United States Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Topic: Drop Down Color PickerPosted: 16 June 2005 at 5:03pm |
|
|
Hi there,
I have a question about the dropdown color picker toolbar item. If I have a toolbar docked at the bottom of my application window, and my application window is maximized, the color pallette is dropped off the bottom of the window. Is there a way already built in for the window to "drop upwards"? If not, I don't mind checking it, and repositioning the window myself - however, I'm having a very hard time making the Message Handlers get handled. For instance in the CMainFrame class of the sample ColorPickerToolbar application, I add this:
and this:
along with the approprate prototype in the class definition. But the OnDropDown handler never gets called. I know I'm a total noob to the XT tools, but a little direction would help a lot! |
||
|
This signature intentionally left blank
|
||
![]() |
||
Toxick
Newbie
Joined: 16 June 2005 Location: United States Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 June 2005 at 7:49pm |
|
|
I got around my problem, as explained above.
I derived a class which extends XTToolBar class. Then I override the CreateNewColorPopup function, and check the rect parameter against the bottom of the user's screen. If it's too close, offset the rectangle upwards. Thanks anyway. |
||
|
This signature intentionally left blank
|
||
![]() |
||
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 |