void EnableIntelliMouse();
Enables Intelli Mouse support for the grid. Call this method at initialization time of your grid, e.g. before calling OnGridInitialUpdate or Initialize
Intellimouse support is very similar to MS Excel and MS Internet Explorer. Objective Grid supports the following features:
Please note that the first three features (rolling the mousewheel) are only supported if compiled with Visual C++ 6.0 or higher.
Example:
void CMyGridView::OnInitialUpdate()
{
CGXGridView::OnInitialUpdate();
EnableIntelliMouse();
}
BOOL CSample4Dialog::OnInitDialog()
{
CDialog::OnInitDialog();
GetGridWnd()->EnableFormulaEngine();
GetGridWnd()->Initialize();
GetGridWnd()->SetRowCount(25);
GetGridWnd()->SetColCount(52);
GetGridWnd()->SetCurrentCell(1,1);
GetGridWnd()->EnableIntelliMouse();
GetGridWnd()->SetFocus();
return FALSE; // return TRUE unless you set the focus to a control
}
Control-Factory Specific ->
Make sure that intelli-mouse support has been linked into the grid library. See the section "Reducing the size of your application" in the user's guide how to remove or include mouse-wheel support from the grid library using the Build Wizard.
END Control-Factory Specific
CGXIntelliMousePlugin CGXGridCore::EnableMouseWheel
Class Overview | Class Members