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

Method make_foreground

core/src/utils/window.cc:172–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172void window::make_foreground(void *hwnd)
173{
174 auto window = (HWND)hwnd;
175
176 // Restore if minimized.
177 if (IsIconic(window))
178 ShowWindow(window, SW_RESTORE);
179 else
180 ShowWindow(window, SW_SHOWNORMAL);
181
182 SetForegroundWindow(window);
183}
184
185void window::enable_shadow(void *hwnd)
186{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected