private IntPtr _WndProc(IntPtr hwnd, int uMsg, IntPtr wParam, IntPtr lParam, ref bool handled) { Standard.WM wm = (Standard.WM)uMsg; if (wm == WM_TASKBARBUTTONCREATED) { this._OnIsAttachedChanged(true); this._isAttached = true; handled = false; } else { Standard.WM wm2 = wm; if (wm2 != Standard.WM.SIZE) { if ((wm2 == Standard.WM.COMMAND) && (Standard.Utility.HIWORD(wParam.ToInt32()) == 0x1800)) { int num = Standard.Utility.LOWORD(wParam.ToInt32()); this.ThumbButtonInfos[num].InvokeClick(); handled = true; } } else { this._UpdateThumbnailClipping(this._isAttached); handled = false; } } return(IntPtr.Zero); }
private IntPtr _WndProc(IntPtr hwnd, Standard.WM msg, IntPtr wParam, IntPtr lParam) { List <_SystemMetricUpdate> list; if ((this._UpdateTable != null) && this._UpdateTable.TryGetValue(msg, out list)) { foreach (_SystemMetricUpdate update in list) { update(wParam, lParam); } } return(Standard.NativeMethods.DefWindowProc(hwnd, msg, wParam, lParam)); }