MCPcopy Create free account
hub / github.com/ConEmu/ConEmu / apiShowWindow

Function apiShowWindow

src/common/WUser.cpp:52–62  ·  view source on GitHub ↗

If the window was previously visible, the return value is nonzero. If the window was previously hidden, the return value is zero.

Source from the content-addressed store, hash-verified

50// If the window was previously visible, the return value is nonzero.
51// If the window was previously hidden, the return value is zero.
52bool apiShowWindow(HWND ahWnd, int anCmdShow)
53{
54 #ifdef _DEBUG
55 wchar_t szLastFore[1024]; getWindowInfo(GetForegroundWindow(), szLastFore);
56 wchar_t szWnd[1024]; getWindowInfo(ahWnd, szWnd);
57 #endif
58
59 bool lbRc = ::ShowWindow(ahWnd, anCmdShow) ? true : false;
60
61 return lbRc;
62}
63
64bool apiShowWindowAsync(HWND ahWnd, int anCmdShow)
65{

Callers 15

ShowMainWindowMethod · 0.85
DoMinimizeRestoreMethod · 0.85
OnInitDialogMethod · 0.85
OnPageMethod · 0.85
DialogMethod · 0.85
ShowBarMethod · 0.85
RightClickingPaintMethod · 0.85
MoveDragWindowMethod · 0.85
OnVConCreatedMethod · 0.85
RegisterPanelViewMethod · 0.85
cmd_PostConMsgFunction · 0.85
cmd_SetConColorsFunction · 0.85

Calls 1

getWindowInfoFunction · 0.85

Tested by

no test coverage detected