Print Page | Close Window

FrameHook causing Cursor to hang

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=22451
Printed Date: 24 November 2024 at 1:57pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: FrameHook causing Cursor to hang
Posted By: cpede
Subject: FrameHook causing Cursor to hang
Date 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++)



Replies:
Posted By: cpede
Date Posted: 10 November 2014 at 8:27am
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++)


Posted By: Marco1
Date Posted: 11 November 2014 at 3:56am
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" rel="nofollow - 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.



-------------
Product: XTP 18.3.0 on VS 2017
Platform: VS 2017 / Windows 10 (64bit)


Posted By: cpede
Date Posted: 11 November 2014 at 4:50am
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++)


Posted By: astoyan
Date Posted: 11 November 2014 at 8:07am
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



Posted By: cpede
Date Posted: 11 November 2014 at 9:19am
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++)


Posted By: Marco1
Date Posted: 17 November 2014 at 3:55am
Originally posted by astoyan astoyan wrote:

This feature has been intentionally introduced in order to make resizing of windows with thin borders easy.
Jeeez..., can you please be so kind and stay as close as possible to MS standard behavior? Such gimmicks are pretty annoying, cause this isn't standard behavior at all.
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.



-------------
Product: XTP 18.3.0 on VS 2017
Platform: VS 2017 / Windows 10 (64bit)


Posted By: RibbonUser
Date Posted: 13 April 2015 at 11:07am
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?


Posted By: astoyan
Date Posted: 21 April 2015 at 10:21pm
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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net