FrameHook causing Cursor to hang |
Post Reply |
Author | |
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 668 |
Post Options
Thanks(0)
Posted: 07 November 2014 at 9:41am |
When calling EnableFrameTheme on a MDI child frame window declared as:
class CMyWindow : public CMDIChildWnd, CXTPCommandBarsFrameHook causes the cursor to hand on the borders when the resize cursor appears. -cpede |
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 668 |
Post Options
Thanks(0)
|
The same can easily be seen in the CommandBarControls sample.
-cpede
|
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
Marco1
Senior Member Joined: 16 January 2004 Location: Germany Status: Offline Points: 251 |
Post Options
Thanks(0)
|
Reported the same problem on 29 October 2014 at 6:09am:
http://forum.codejock.com/forum_posts.asp?TID=21760&PID=72871&title=problem-with-2007-ribbontheme#72871 which makes 16.4.0 not production usable. |
|
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 668 |
Post Options
Thanks(0)
|
Yes, that was also what I found out.
This must be fixed. I abandoned all the fancy theming ect. for my next version because of this. -cpede
|
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
astoyan
Admin Group Joined: 24 August 2013 Status: Offline Points: 304 |
Post Options
Thanks(0)
|
Hello cpede,
This feature has been intentionally introduced in order to make resizing of windows with thin borders easy. But taking into account some reported inconveniences we are thinking about making it optional and easy to enable/disable at any time. You can help improving quality of the release versions by evaluating changes and new additions in the beta versions. Thank you. Regards, Alexander Stoyan |
|
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 668 |
Post Options
Thanks(0)
|
Thanks for the answer.
Ok, it seemed that you went the wrong path. You may NEVER interrupt the movement of the mouse by clamping it to some border or frame. This is so annoying that I cannot run my app. - even in debug mode with this feature. In that case you should widen the area where the resize cursor is displayed. I'm running v16.4.0 and not aware of any beta versions? -cpede
|
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
Marco1
Senior Member Joined: 16 January 2004 Location: Germany Status: Offline Points: 251 |
Post Options
Thanks(0)
|
Optional is okay, as long as it is disabled by default. And btw, tried it with a thin frame but IMHO it doesn't augment resizing very much. |
|
RibbonUser
Newbie Joined: 13 April 2015 Status: Offline Points: 1 |
Post Options
Thanks(0)
|
I agree with all previous posts. This "feature" has at least to be optional. The new behaviour is annoying and makes makes 16.4.0 not production usable.
Is there any new information about that? Is CodeJock going to make any changes? |
|
astoyan
Admin Group Joined: 24 August 2013 Status: Offline Points: 304 |
Post Options
Thanks(0)
|
Hello,
Mouse locking has been made optional and disabled by default in the next release of 17.0 beta. In order to enable mouse locking CXTPCommandBarsFrameHook::m_bAllowBorderMouseTracking will have to be set to TRUE. Please stay tuned to our updates and once 17.0 beta is out we appreciate a thorough testing and reporting the problems. Thank you. Regards, Alexander Stoyan
|
|
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 |