Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - FrameHook causing Cursor to hang
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

FrameHook causing Cursor to hang

 Post Reply Post Reply
Author
Message
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 668
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Topic: FrameHook causing Cursor to hang
    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++)
Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 668
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post 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++)
Back to Top
Marco1 View Drop Down
Senior Member
Senior Member


Joined: 16 January 2004
Location: Germany
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco1 Quote  Post ReplyReply Direct Link To This Post 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

which makes 16.4.0 not production usable.

Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 668
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post 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++)
Back to Top
astoyan View Drop Down
Admin Group
Admin Group
Avatar

Joined: 24 August 2013
Status: Offline
Points: 304
Post Options Post Options   Thanks (0) Thanks(0)   Quote astoyan Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 668
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post 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++)
Back to Top
Marco1 View Drop Down
Senior Member
Senior Member


Joined: 16 January 2004
Location: Germany
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco1 Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
RibbonUser View Drop Down
Newbie
Newbie


Joined: 13 April 2015
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote RibbonUser Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
astoyan View Drop Down
Admin Group
Admin Group
Avatar

Joined: 24 August 2013
Status: Offline
Points: 304
Post Options Post Options   Thanks (0) Thanks(0)   Quote astoyan Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.234 seconds.