Customization and Embedded Controls |
Post Reply |
Author | |
erichf
Newbie Joined: 19 August 2003 Status: Offline Points: 10 |
Post Options
Thanks(0)
Posted: 19 August 2003 at 9:27pm |
Howdy, I'd appreciate it if you could help out with a couple of questions. 1. I'm trying to tweak the toolbars for a particular behaviour, but don't seem to be getting the right combination (I figured it was in SetCustomizeMode or EnableCustomization, but haven't been successful). Basically, I'd like to hide the dropdown icon for toolbar customization altogether...at the same time, I don't want to disable the behaviour where chevrons are displayed when the toolbar is only partially available. 2. I am interested to know if I can embed standard MFC controls in the toolbar or just CXTPControl types? I wanted to embed CAnimateCtrl, but wasn't successful. 3. Your sample application that demonstrates XP themes doesn't appear to be showing the XP style drop-down. Is this something that can be fixed? 4. Finally, this might be a dumb question, but how do I disable Docking? I was expecting to be able to pass FALSE to EnableDocking, but don't see an alternative. Thanks in advance for your assistance, Erich |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
1. I will add the flag to manipulate this behavior. 2.The next release will contain samples of it. 3. You can create custom theme derived from CXTPNativeXPTheme. 4. pToolBar->EnableDocking(0); doesn't work? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
here custom theme: class CNativeThemeEx : public CXTPNativeXPTheme{ protected :
};
usage:
CXTPPaintManager ::SetCustomTheme(new CNativeThemeEx); |
|
erichf
Newbie Joined: 19 August 2003 Status: Offline Points: 10 |
Post Options
Thanks(0)
|
Thanks for your prompt responses Oleg, Some comments: 1. I will add the flag to manipulate this behavior. >>Thank you.
2.The next release will contain samples of it. >>When will the next release be out approximately?
3. You can create custom theme derived from CXTPNativeXPTheme. >>Thanks for the code sample, I'll work with it.
4. pToolBar->EnableDocking(0); doesn't work? >>I was looking at the wrong method (EnableDocking on CXTPCommandBars which has no arguments). I did notice, though, that once I disabled docking that xtpFlagStretched was ignored and the chevrons didn't appear when I shrunk the frame (it just shifts the entire toolbar down). It seems to me that the docking behaviour shouldn't affect the chevrons or stretching. Is this by design?
You've done some great work here, I'm looking forward to the next release...
-Erich
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
All features you asked added. Next release will be in the mid of september. 4. Sorry, to disable docking but not to change wrapping behaviour call pToolBar->EnableDocking(xtpHideWrap); and pMenulBar->EnableDocking(xtpFlagStretched); to disable docking menu bar. |
|
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 |