nic Lib "user32" (ByVal hWnd As Long) As Long
Private Declare Function IsWindowEnabled Lib "user32" (ByVal hWnd As Long) As
 Long

' All controls which are connected to the command bar data
Private m_colhWnd As Collection

' The command bars &amp; the respective buttons
Private m_colCommandBars As Collection
Private m_colButtons As Collection

' A collection of controls which we created ourselves
Private m_colPopups As Collection

Private m_showingInfrequentlyUsed As Boolean
Private m_hideInfrequentlyUsed A