Print Page | Close Window

[SOLVED] RibbonBar double Click closes app

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=15080
Printed Date: 06 October 2024 at 8:30pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] RibbonBar double Click closes app
Posted By: chrisABC
Subject: [SOLVED] RibbonBar double Click closes app
Date Posted: 31 August 2009 at 3:32am
With the RibbonBar (eg using the Sample program) if you doubleclick the large System Button, it closes the program.

I expect this is working as designed. But is this the standard GUI behaviour for ribbon bars? And is there a way to trap this (apart from the event  Form_QueryUnload) ? 

-------------
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6



Replies:
Posted By: Oleg
Date Posted: 31 August 2009 at 7:23am
Hi,
Yes, its designed, and sure users wait such behavior.
Its possible to Subclass main frame and catch "WM_SYSCOMMAND" message with  "SC_CLOSE | HTSYSMENU" parameter


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: chrisABC
Date Posted: 31 August 2009 at 9:56am
Thank you.

-------------
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6


Posted By: ou81aswell
Date Posted: 31 August 2009 at 1:07pm
Isn't this standard windows behaviour? If you double-click the control box (top left hand corner of a windows application) it will close. Double-clicking on Excel 2007's Office button closes Excel. This behaviour has been in place since 1492 when Columbus bumped into the Americas. :)

-------------
VB6, CJ 13.2.1, targeting XP, Vista and Win7


Posted By: chrisABC
Date Posted: 01 September 2009 at 3:28am
I just tried it and it works. Double click closes any app.

Well I never knew that. (or needed it).  (and I've been using Windows since v1).




-------------
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6



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