SOLVED: RibbonBar not minimizing on Control+F1 |
Post Reply |
Author | |
StuartBrown
Newbie Joined: 03 April 2008 Status: Offline Points: 6 |
Post Options
Thanks(0)
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 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Its on you. Add Keybinding and Minimize it.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |