26#define WIN32_LEAN_AND_MEAN
127 hFont =
CreateFont(-
MulDiv(8,
GetDeviceCaps(
hdc,
LOGPIXELSY),72), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
_T(
"MS Sans Serif"));
int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmdshow)
LRESULT CALLBACK ChildWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
LRESULT CALLBACK FrameWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
WCHAR szFrameClass[MAX_LOADSTRING]
WCHAR szTitle[MAX_LOADSTRING]
WCHAR szChildClass[MAX_LOADSTRING]
BOOL WINAPI InitCommonControlsEx(const INITCOMMONCONTROLSEX *lpInitCtrls)
HWND WINAPI CreateToolbarEx(HWND hwnd, DWORD style, UINT wID, INT nBitmaps, HINSTANCE hBMInst, UINT_PTR wBMID, LPCTBBUTTON lpButtons, INT iNumButtons, INT dxButton, INT dyButton, INT dxBitmap, INT dyBitmap, UINT uStructSize)
#define ID_WINDOW_TILE_VERT
#define ID_WINDOW_TILE_HORZ
#define ID_WINDOW_CASCADE
static BOOL CALLBACK EnumWndProc(HWND hWnd, LPARAM lParam)
static int g_foundPrevInstance
void UpdateStatusBar(void)
#define ID_OPTIONS_TOOLBAR
#define ID_OPTIONS_STATUSBAR
#define IDC_MDI_APP_CHILD
#define ID_WINDOW_NEW_WINDOW
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
INT WINAPI MulDiv(INT nNumber, INT nNumerator, INT nDenominator)
#define WS_OVERLAPPEDWINDOW
struct tagINITCOMMONCONTROLSEX INITCOMMONCONTROLSEX
#define CreateStatusWindow
TW_UINT32 TW_UINT16 TW_UINT16 MSG
int WINAPI GetDeviceCaps(_In_opt_ HDC, _In_ int)
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
BOOL WINAPI TranslateMessage(_In_ const MSG *)
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
DWORD WINAPI CheckMenuItem(_In_ HMENU, _In_ UINT, _In_ UINT)
BOOL WINAPI TranslateMDISysAccel(_In_ HWND, _In_ LPMSG)
HMENU WINAPI GetSubMenu(_In_ HMENU, _In_ int)
BOOL WINAPI EnumWindows(_In_ WNDENUMPROC lpEnumFunc, _In_ LPARAM lParam)
BOOL WINAPI UpdateWindow(_In_ HWND)
HDC WINAPI GetDC(_In_opt_ HWND)
BOOL WINAPI DestroyMenu(_In_ HMENU)
HWND WINAPI GetWindow(_In_ HWND, _In_ UINT)
#define TranslateAccelerator
int WINAPI GetSystemMetrics(_In_ int)