MCPcopy Create free account
hub / github.com/PenguLoader/PenguLoader / WndProc

Method WndProc

loader/MainWindow.xaml.cs:57–72  ·  view source on GitHub ↗
(IntPtr hwnd, int msg, IntPtr wp, IntPtr lp, ref bool handled)

Source from the content-addressed store, hash-verified

55 }
56
57 private IntPtr WndProc(IntPtr hwnd, int msg, IntPtr wp, IntPtr lp, ref bool handled)
58 {
59 if (msg == Native.WM_SHOWME)
60 {
61 if (WindowState == WindowState.Minimized)
62 WindowState = WindowState.Normal;
63
64 if (!IsVisible)
65 Show();
66
67 Activate();
68 handled = true;
69 }
70
71 return IntPtr.Zero;
72 }
73
74 private void MouseDragMove(object sender, System.Windows.Input.MouseButtonEventArgs e)
75 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected