How to allow gripping of the CXTPDialogBar title? |
Post Reply |
Author | ||
cuisinart
Groupie Joined: 31 January 2012 Status: Offline Points: 10 |
Post Options
Thanks(0)
Posted: 03 March 2012 at 11:47pm |
|
I've submitted a support request via the official channel, but it's been two weeks now and no response. So, opening it up:
Has anyone found a way to allow the title bar of a dialogbar to be gripped? I have created a few dialogbars, but so far the only way to move them is by gripping the tiny gripper dots at the top, not the whole title bar, which intuitively doesn't make sense from a user interface perspective. Any help appreciated! |
||
cuisinart
Groupie Joined: 31 January 2012 Status: Offline Points: 10 |
Post Options
Thanks(0)
|
|
I have found a hack-ish way, hoping a better method comes along soon:
In XTPToolBar.cpp: OnLButtonDown: change m_pControls->HitTest(point) test line to:
then in the function OnSetCursor, under if (IsDialogBar()) change:
(also include XTPDialogBar.h at the top) Of course, the OnLButtonDown change only works if only DialogBars have two controls embedded. This is true for my app but if yours has a toolbar with, say, 2 buttons only then it probably won't work right. |
||
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
|
what was the issue#?
|
||
cuisinart
Groupie Joined: 31 January 2012 Status: Offline Points: 10 |
Post Options
Thanks(0)
|
|
Hi, the submission I had in was 28048, it's on a different subject. I had been waiting for that one to be resolved before adding others, like this.
|
||
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
|
OK, please don't post misleading information. On the other issue we need your app or sample to reproduce. For THIS issue open a ticket and I'll attach the fix.
|
||
cuisinart
Groupie Joined: 31 January 2012 Status: Offline Points: 10 |
Post Options
Thanks(0)
|
|
Ok, thank you for your fast response. The other issue I was waiting 2 weeks to get a reply before submitting this one, I didn't hear back until a phone call was placed yesterday, then they requested a sample which I am preparing.
Regards
|
||
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 |