26 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers 63 int parts[] = {300, 500};
116 if (!pChildWnd->
hWnd)
119 return pChildWnd->
hWnd;
160 if (pChildWnd !=
NULL) {
186 return pChildWnd->
hWnd;
223 nParts[2] = rc.
right;
236 if (nItemID == 2) nItemID = 5;
void OnExitMenuLoop(HWND hWnd)
BOOL WINAPI EnumChildWindows(_In_opt_ HWND, _In_ WNDENUMPROC, _In_ LPARAM)
static HWND create_child_window(ChildWnd *child)
struct _WINDOWPLACEMENT WINDOWPLACEMENT
#define ID_OPTIONS_TOOLBAR
static ChildWnd * newchild
BOOL WINAPI IsWindow(_In_opt_ HWND)
void ShowAboutBox(HWND hWnd)
GLsizei const GLchar ** path
static const D3D_BLOB_PART parts[]
#define WM_QUERYENDSESSION
static void resize_frame_rect(HWND hWnd, PRECT prect)
static HWND InitChildWindow(LPTSTR param)
#define ID_WINDOW_TILE_VERT
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
#define WM_MDIICONARRANGE
void UpdateStatusBar(void)
#define MDITILE_HORIZONTAL
int WINAPI GetMenuItemCount(_In_opt_ HMENU)
#define GetCurrentDirectory
void resize_frame_client(HWND hWnd)
_TCHAR * _tcschr(const _TCHAR *s, _XINT c)
DWORD WINAPI GetCurrentThreadId(VOID)
#define ID_WINDOW_CASCADE
LRESULT _CmdWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
BOOL CALLBACK CloseEnumProc(HWND hWnd, LPARAM lParam)
#define ID_WINDOW_CLOSEALL
DWORD WINAPI CheckMenuItem(_In_ HMENU, _In_ UINT, _In_ UINT)
#define ID_WINDOW_TILE_HORZ
HWND WINAPI GetWindow(_In_ HWND, _In_ UINT)
LRESULT CALLBACK CBTProc(int code, WPARAM wParam, LPARAM lParam)
WCHAR szChildClass[MAX_LOADSTRING]
HMENU WINAPI GetSubMenu(_In_ HMENU, _In_ int)
BOOL WINAPI MoveWindow(_In_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ BOOL)
BOOL WINAPI UnhookWindowsHookEx(_In_ HHOOK)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
HWND WINAPI GetParent(_In_ HWND)
LRESULT WINAPI CallNextHookEx(_In_opt_ HHOOK, _In_ int, _In_ WPARAM, _In_ LPARAM)
#define ID_WINDOW_ARRANGE_ICONS
LRESULT CALLBACK FrameWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
void OnEnterMenuLoop(HWND hWnd)
void toggle_child(HWND hWnd, UINT cmd, HWND hchild)
#define ID_OPTIONS_STATUSBAR
static struct myctx * mcs
char * strcpy(char *DstString, const char *SrcString)
BOOL WINAPI IsWindowVisible(_In_ HWND)
#define ID_WINDOW_NEW_WINDOW
HMENU WINAPI GetMenu(_In_ HWND)
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
void OnMenuSelect(HWND hWnd, UINT nItemID, UINT nFlags, HMENU hSysMenu)
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)