17 if(
Info->OpenInfo->bCreateNew)
44 Info->OpenInfo->bBinaryFileOpened =
TRUE;
108 Info->MainWndInfo->CurrentFontWnd =
Info;
126 if(
Info->FirstEditGlyphWnd)
138 if(
Info->OpenInfo->bModified)
150 switch(nMsgBoxResult)
166 Info->MainWndInfo->CurrentFontWnd =
NULL;
181 if(
Info->PrevFontWnd)
182 Info->PrevFontWnd->NextFontWnd =
Info->NextFontWnd;
184 Info->MainWndInfo->FirstFontWnd =
Info->NextFontWnd;
186 if(
Info->NextFontWnd)
187 Info->NextFontWnd->PrevFontWnd =
Info->PrevFontWnd;
189 Info->MainWndInfo->LastFontWnd =
Info->PrevFontWnd;
195 if(
Info->OpenInfo->pszFileName)
337 if(si.
nPos != nOrgPos)
372 Info->MainWndInfo = MainWndInfo;
373 Info->OpenInfo = OpenInfo;
379 if(OpenInfo->pszFileName)
382 pszWindowTitle = (
pch ? (
pch + 1) : OpenInfo->pszFileName);
396 MainWndInfo->hMdiClient,
400 if(!OpenInfo->pszFileName)
406 Info->PrevFontWnd =
Info->MainWndInfo->LastFontWnd;
408 if(
Info->MainWndInfo->LastFontWnd)
409 Info->MainWndInfo->LastFontWnd->NextFontWnd =
Info;
411 Info->MainWndInfo->FirstFontWnd =
Info;
413 Info->MainWndInfo->LastFontWnd =
Info;
INT AllocAndLoadString(OUT LPTSTR *lpTarget, IN HINSTANCE hInst, IN UINT uID)
DWORD LoadAndFormatString(IN HINSTANCE hInstance, IN UINT uID, OUT LPTSTR *lpTarget,...)
#define ReadFile(a, b, c, d, e)
#define INVALID_HANDLE_VALUE
#define HeapFree(x, y, z)
DWORD WINAPI GetFileSize(HANDLE hFile, LPDWORD lpFileSizeHigh)
VOID CreateFontBoxesWindow(IN PFONT_WND_INFO FontWndInfo)
VOID UnInitFontWndClass(VOID)
BOOL InitFontWndClass(VOID)
static BOOL InitFont(IN PFONT_WND_INFO Info)
static LRESULT CALLBACK FontWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
BOOL CreateFontWindow(IN PMAIN_WND_INFO MainWndInfo, IN PFONT_OPEN_INFO OpenInfo)
static const WCHAR szFontWndClass[]
HLOCAL NTAPI LocalFree(HLOCAL hMem)
VOID SetPasteButtonState(IN PMAIN_WND_INFO Info)
VOID DoFileSave(IN PMAIN_WND_INFO Info, IN BOOL bSaveAs)
VOID SetToolbarFileButtonState(IN PMAIN_WND_INFO Info, BOOL bEnabled)
VOID LocalizedError(IN UINT uID,...)
#define FONT_WND_MIN_HEIGHT
#define FONT_BOXES_WND_HEIGHT
struct _FONT_WND_INFO * PFONT_WND_INFO
#define FONT_BOXES_WND_WIDTH
#define FONT_WND_MIN_WIDTH
struct _BITMAP_FONT * PBITMAP_FONT
#define IDS_UNSUPPORTEDFORMAT
#define IDS_UNSUPPORTEDPSF
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
int WINAPI GetWindowTextW(HWND hWnd, LPWSTR lpString, int nMaxCount)
DWORD WINAPI GetLastError(void)
#define GetWindowLongPtrW
BOOL WINAPI GetWindowRect(_In_ HWND, _Out_ LPRECT)
BOOL WINAPI SetWindowPos(_In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
ATOM WINAPI RegisterClassW(_In_ CONST WNDCLASSW *)
LRESULT WINAPI DefMDIChildProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
int WINAPI MessageBoxW(_In_opt_ HWND hWnd, _In_opt_ LPCWSTR lpText, _In_opt_ LPCWSTR lpCaption, _In_ UINT uType)
HWND WINAPI SetFocus(_In_opt_ HWND)
#define MB_ICONEXCLAMATION
int WINAPI SetScrollInfo(_In_ HWND, _In_ int, _In_ LPCSCROLLINFO, _In_ BOOL)
BOOL WINAPI UnregisterClassW(_In_ LPCWSTR, HINSTANCE)
BOOL WINAPI ShowScrollBar(_In_ HWND, _In_ int, _In_ BOOL)
#define MAKEINTRESOURCEW(i)
#define SetWindowLongPtrW
BOOL WINAPI GetScrollInfo(_In_ HWND, _In_ int, _Inout_ LPSCROLLINFO)
HICON WINAPI LoadIconW(_In_opt_ HINSTANCE hInstance, _In_ LPCWSTR lpIconName)
HWND WINAPI CreateMDIWindowW(_In_ LPCWSTR, _In_ LPCWSTR, _In_ DWORD, _In_ int, _In_ int, _In_ int, _In_ int, _In_opt_ HWND, _In_opt_ HINSTANCE, _In_ LPARAM)
BOOL WINAPI ScreenToClient(_In_ HWND, _Inout_ LPPOINT)