26#define WIN32_LEAN_AND_MEAN
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;
std::map< E_STRING, PART_TEST > parts
char * strcpy(char *DstString, const char *SrcString)
static struct myctx * mcs
void ShowAboutBox(HWND hWnd)
static void resize_frame_client(HWND hWnd)
static void OnEnterMenuLoop(HWND hWnd)
static void OnMenuSelect(HWND hWnd, UINT nItemID, UINT nFlags, HMENU hSysMenu)
static BOOL _CmdWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
static void toggle_child(HWND hWnd, UINT cmd, HWND hchild)
void UpdateStatusBar(void)
static void OnExitMenuLoop(HWND hWnd)
static void resize_frame_rect(HWND hWnd, PRECT prect)
LRESULT CALLBACK FrameWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
WCHAR szChildClass[MAX_LOADSTRING]
#define ID_WINDOW_TILE_VERT
#define ID_WINDOW_TILE_HORZ
#define ID_WINDOW_CASCADE
LRESULT CALLBACK CBTProc(int code, WPARAM wParam, LPARAM lParam)
BOOL CALLBACK CloseEnumProc(HWND hWnd, LPARAM lParam)
static HWND InitChildWindow(LPTSTR param)
static ChildWnd * newchild
#define ID_OPTIONS_TOOLBAR
#define ID_WINDOW_ARRANGE_ICONS
#define ID_OPTIONS_STATUSBAR
#define ID_WINDOW_CLOSEALL
#define ID_WINDOW_NEW_WINDOW
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
DWORD WINAPI GetCurrentThreadId(void)
#define GetCurrentDirectory
BOOL WINAPI IsWindow(_In_opt_ HWND)
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
int WINAPI GetMenuItemCount(_In_opt_ HMENU)
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)
BOOL WINAPI EnumChildWindows(_In_opt_ HWND, _In_ WNDENUMPROC, _In_ LPARAM)
DWORD WINAPI CheckMenuItem(_In_ HMENU, _In_ UINT, _In_ UINT)
#define WM_MDIICONARRANGE
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
HMENU WINAPI GetSubMenu(_In_ HMENU, _In_ int)
BOOL WINAPI UnhookWindowsHookEx(_In_ HHOOK)
#define WM_QUERYENDSESSION
HWND WINAPI GetParent(_In_ HWND)
LRESULT WINAPI CallNextHookEx(_In_opt_ HHOOK, _In_ int, _In_ WPARAM, _In_ LPARAM)
HWND WINAPI GetWindow(_In_ HWND, _In_ UINT)
#define MDITILE_HORIZONTAL
struct _WINDOWPLACEMENT WINDOWPLACEMENT
BOOL WINAPI IsWindowVisible(_In_ HWND)
BOOL WINAPI MoveWindow(_In_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ BOOL)
HMENU WINAPI GetMenu(_In_ HWND)