CGXTabbedComboBoxWnd::CGXTabbedComboBoxWnd

CGXTabbedComboBoxWnd(CGXGridCore* pGrid);

pGrid

Pointer to the parent grid.

Remarks

Constructs a tabbed combo box control object.

Here is how Objective Grid allocates and initializes a CGXTabbedComboBoxWnd object in its control factory:

   case GX_IDS_CTRL_CBS_TABBED_DROPDOWN:
      // register dropdown list
      if (!bWin32s)
      {
         CGXTabbedComboBoxWnd* pWnd = new CGXTabbedComboBoxWnd(pGrid);
         pWnd->CreateControl(CBS_DROPDOWN, GX_IDS_CTRL_CBS_TABBED_DROPDOWN);
         pControl = pWnd;
         break;
      }
      // Win32s - FALL THROUGH (use CGXTabbedComboBox instead)
   case GX_IDS_CTRL_CBS_TABBED_DROPDOWNLIST:
      // register dropdown list
      if (!bWin32s)
      {
         CGXTabbedComboBoxWnd* pWnd = new CGXTabbedComboBoxWnd(pGrid);
         pWnd->CreateControl(CBS_DROPDOWNLIST, GX_IDS_CTRL_CBS_TABBED_DROPDOWNLIST);
         pWnd->m_bDropDownOnClick = TRUE;
         pControl = pWnd;
         break;
      }
      // Win32s - FALL THROUGH (use CGXTabbedComboBox instead)

See Also

 CGXGridCore::RegisterControl  CGXAbstractControlFactory

CGXTabbedComboBoxWnd

 Class Overview |  Class Members