Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - [SOLVED] RibbonBar double Click closes app
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED] RibbonBar double Click closes app

 Post Reply Post Reply
Author
Message
chrisABC View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2008
Status: Offline
Points: 258
Post Options Post Options   Thanks (0) Thanks(0)   Quote chrisABC Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED] RibbonBar double Click closes app
    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
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
chrisABC View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2008
Status: Offline
Points: 258
Post Options Post Options   Thanks (0) Thanks(0)   Quote chrisABC Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
ou81aswell View Drop Down
Groupie
Groupie


Joined: 05 June 2009
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote ou81aswell Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
chrisABC View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2008
Status: Offline
Points: 258
Post Options Post Options   Thanks (0) Thanks(0)   Quote chrisABC Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.

This page was generated in 0.359 seconds.