Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - SOLVED: RibbonBar not minimizing on Control+F1
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOLVED: RibbonBar not minimizing on Control+F1

 Post Reply Post Reply
Author
Message
StuartBrown View Drop Down
Newbie
Newbie


Joined: 03 April 2008
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote StuartBrown Quote  Post ReplyReply Direct Link To This Post Topic: SOLVED: RibbonBar not minimizing on Control+F1
    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
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 14 July 2008 at 12:13pm
Hi,
Its on you. Add Keybinding and Minimize it.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.172 seconds.