40 references to SnapFocusDebug
System.Windows.Forms (40)
winforms\Managed\System\WinForms\MenuStrip.cs (2)
220
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[ProcessMenuKey] set focus to menustrip");
249
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[MenuStrip.ProcessCmdKey] Rolling up the menu and invoking the system menu");
winforms\Managed\System\WinForms\ToolStrip.cs (12)
2140
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "Exiting menu mode because we're the last toolstrip in the queue, and we've disposed.");
2867
Debug.WriteLineIf(
SnapFocusDebug
.TraceVerbose, "[ToolStrip.ProcessCmdKey] Detected a second ALT keypress while in Menu Mode.");
3465
Debug.WriteLineIf(
SnapFocusDebug
.TraceVerbose, "uninstalling RestoreFocusFilter");
4078
Debug.WriteLineIf(
SnapFocusDebug
.TraceVerbose, "[ToolStrip.RestoreFocus] Someone has called RestoreFocus, exiting MenuMode.");
4083
Debug.WriteLineIf(
SnapFocusDebug
.TraceVerbose, "[ToolStrip.RestoreFocus] Setting menu auto expand to false");
4084
Debug.WriteLineIf(
SnapFocusDebug
.TraceVerbose, "[ToolStrip.RestoreFocus] uninstalling RestoreFocusFilter");
4116
Debug.WriteLineIf(
SnapFocusDebug
.TraceVerbose, "[ToolStrip RestoreFocus]: Will Restore Focus to: " + WindowsFormsUtils.GetControlInformation(hwndThatLostFocus));
4274
Debug.WriteLineIf(
SnapFocusDebug
.TraceVerbose,"[ToolStrip.SetFocus] Focusing toolstrip.");
4278
Debug.WriteLineIf(
SnapFocusDebug
.TraceVerbose,"[ToolStrip.SetFocus] Entering menu mode.");
4543
Debug.WriteLineIf(
SnapFocusDebug
.TraceVerbose, "[ToolStrip SnapFocus]: Caching for return focus:" + WindowsFormsUtils.GetControlInformation(otherHandle.Handle));
4750
Debug.WriteLineIf(
SnapFocusDebug
.TraceVerbose, "Installing restoreFocusFilter");
5180
Debug.WriteLineIf(
SnapFocusDebug
.TraceVerbose, "[ToolStrip.RestoreFocusFilter] Detected a click, restoring focus.");
winforms\Managed\System\WinForms\ToolStripDropDown.cs (6)
1448
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[ToolStripDropDown.OnMouseUp] mouse up outside of the toolstrip - this should dismiss the entire chain");
1505
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[ToolStripDropDown.SelectPreviousToolStrip] No previous toolstrip to select - exiting menu mode.");
1588
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[ToolStripDropDown ProcessDialogKey]: Got Menu Key, finding toplevel toolstrip, calling RestoreFocus.");
1924
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose,"[ToolStripDropDown.SetVisibleCore] Exiting menu mode because item clicked");
2139
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[ToolStripDropDown.WndProc] got a WM_ACTIVATE " + (((int)m.WParam == NativeMethods.WA_ACTIVE) ? "WA_ACTIVE" : "WA_INACTIVE") + " - checkin if we need to set the active toolstrip");
2153
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[ToolStripDropDown.WndProc] activating thingee is " + WindowsFormsUtils.GetControlInformation(m.LParam));
winforms\Managed\System\WinForms\ToolStripManager.cs (20)
848
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "___________Entering MenuMode....");
899
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "___________Exiting MenuMode....");
1011
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[ModalMenuFilter.CloseActiveDropDown] Calling exit because there are no more dropdowns left to activate.");
1040
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[ModalMenuFilter.ProcessMouseButtonPressed] Found a mouse down.");
1069
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[ModalMenuFilter.ProcessMouseButtonPressed] Calling exit because we're a toplevel toolstrip and we've clicked somewhere else.");
1079
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[ModalMenuFilter.ProcessMouseButtonPressed] active toolstrip is null.");
1152
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[ModalMenuFilter.SetActiveToolStripCore] Detected a new dropdown not in this chain opened, Dismissing everything in the old chain. ");
1167
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[ModalMenuFilter.SetActiveToolStripCore] Setting " + WindowsFormsUtils.GetControlInformation(toolStrip.Handle) + " active.");
1180
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[ModalMenuFilter] SuspendMenuMode");
1186
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[ModalMenuFilter] ResumeMenuMode");
1254
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[ModalMenuFilter.PreFilterMessage] Dismissing because: " + WindowsFormsUtils.GetControlInformation(hwndCurrentActiveWindow.Handle) + " has gotten activation. ");
1260
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[ModalMenuFilter.PreFilterMessage] Calling ProcessActivationChange because: " + WindowsFormsUtils.GetControlInformation(hwndCurrentActiveWindow.Handle) + " has gotten activation. ");
1349
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[ModalMenuFilter.PreFilterMessage] MODIFYING Keyboard message " + m.ToString());
1355
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[ModalMenuFilter.PreFilterMessage] got Keyboard message " + m.ToString());
1696
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[ProcessMenuKey] Determining whether we should send focus to MenuStrip");
1714
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "[ProcessMenuKey] MenuStripToActivate is: {0}", menuStripToActivate));
1737
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[ProcessMenuKey] DETECTED SHIFT+F10" + keyData.ToString());
1742
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[ProcessMenuKey] attempting to set focus to menustrip");
1749
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[ProcessMenuKey] ToolStripManager call MenuStrip.OnMenuKey");
1754
Debug.WriteLineIf(ToolStrip.
SnapFocusDebug
.TraceVerbose, "[ProcessMenuKey] Resetting MenuKeyToggle");