protected void ProcessMoveDown()
{
if (_popupMenu == null)
{
// Are we tracking an item?
if (_trackItem != -1)
{
// The item must not already be selected
if (!_selected)
{
DrawCommand dc = _drawCommands[_trackItem] as DrawCommand;
// Is there a submenu to show?
if (dc.Chevron || (dc.MenuCommand.MenuCommands.Count > 0))
{
// Select the tracked item
_selected = true;
_drawUpwards = false;
// Update display to show as selected
DrawCommand(_trackItem, true);
// Show the submenu
WindowsAPI.PostMessage(this.Handle, WM_OPERATEMENU, 0, 1);
}
}
}
}
}