Print Page | Close Window

SOLVED: RibbonBar not minimizing on Control+F1

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=11433
Printed Date: 11 November 2024 at 3:06pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SOLVED: RibbonBar not minimizing on Control+F1
Posted By: StuartBrown
Subject: SOLVED: RibbonBar not minimizing on Control+F1
Date Posted: 14 July 2008 at 11:37am
Hello,
 
According to the Microsoft Office 2007 UI guidelines the ribbon bar should minimize when pressing CTRL+F1. At present it doesn't in my app - Is this a bug ?
 
I'm using v12.0.0, VB6, XPPro SP2.
 
Update:
Solved using:
 
Public Const FCONTROL = 8
Public Const VK_F1 = &H70
CommandBars.KeyBindings.Add FCONTROL, VK_F1, ID_MINIMIZE
 
Private Sub CommandBars_Execute(ByVal Control As XtremeCommandBars.ICommandBarControl)
    
    If Control.ID = ID_MINIMIZE Then
        mobjMainRibbonBar.Minimized = Not mobjMainRibbonBar.Minimized
    End If
   
End Sub
 



Replies:
Posted By: Oleg
Date Posted: 14 July 2008 at 12:13pm
Hi,
Its on you. Add Keybinding and Minimize it.


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



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