#include <windows.h>
#include <commdlg.h>
#include <dlgs.h>
#include <stdio.h>
#include <string.h>
#include <cderr.h>
#include "main.h"
#include "resource.h"
Go to the source code of this file.
Functions | |
BOOL WINAPI | OpenFiles (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) |
int PASCAL | WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) |
BOOL | InitApplication (HANDLE hInstance) |
BOOL | InitInstance (HANDLE hInstance, int nCmdShow) |
LRESULT CALLBACK | MainWndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) |
BOOL CALLBACK | EnterNew (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) |
BOOL WINAPI | About (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) |
BOOL CALLBACK | FileOpenHookProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) |
BOOL | OpenNewFile (HWND hWnd) |
BOOL | SaveToFile (HWND hWnd) |
BOOL CALLBACK | FileSaveHookProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) |
BOOL | SaveAs (HWND hWnd) |
BOOL CALLBACK | ChooseColorHookProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) |
BOOL | ChooseNewColor (HWND hWnd) |
BOOL CALLBACK | ChooseFontHookProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) |
BOOL | ChooseNewFont (HWND hWnd) |
BOOL CALLBACK | PrintSetupHookProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) |
BOOL CALLBACK | PrintDlgHookProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) |
void | PrintFile (HWND hWnd) |
BOOL CALLBACK | ReplaceTextHookProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) |
BOOL CALLBACK | FindTextHookProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) |
void | CallFindText (HWND hWnd) |
void | CallReplaceText (HWND hWnd) |
void | SearchFile (LPFINDREPLACE lpFR) |
void | ProcessCDError (DWORD dwErrorCode, HWND hWnd) |
Variables | |
HANDLE | hInst |
OPENFILENAME | OpenFileName |
CHAR | szDirName [256] = "" |
CHAR | szFile [256] = "\0" |
CHAR | szFileTitle [256] |
CHAR | szFilter [] = "Text Files (*.ICM)\0*.ICM\0All Files (*.*)\0*.*\0" |
CHAR | szSaveFilter [] = "Text Files (*.CSA)\0*.CSA\0All Files (*.*)\0*.*\0" |
CHAR | FileBuf [FILE_LEN] |
DWORD | dwFileSize |
UINT | FindReplaceMsg |
CHAR | szFindString [64] = "" |
CHAR | szReplaceString [64] = "" |
FINDREPLACE | frText |
LPFINDREPLACE | lpFR |
CHAR * | lpBufPtr = FileBuf |
CHOOSEFONT | chf |
CHOOSECOLOR | chsclr |
COLORREF | crColor |
LOGFONT | lf |
WORD | wMode = IDM_CUSTOM |
WORD | wAsciiMode = IDM_ASCII |
WORD | wIntentMode = IDM_PERCEPUAL |
WORD | wCSAMode = IDM_AUTO |
WORD | wInpDrvClrSp = IDM_INP_AUTO |
WORD | wCSAorCRD = IDM_CSA |
HWND | hDlgFR = NULL |
PRINTDLG | pd |
BOOL | AllowBinary = FALSE |
DWORD | Intent = 0 |
HWND | hWnd |
|
Definition at line 622 of file aug98/test/main.c. Referenced by MainWndProc().
|
|
Definition at line 1608 of file aug98/test/main.c.
|
|
Definition at line 1667 of file aug98/test/main.c.
|
|
Definition at line 1055 of file aug98/test/main.c. Referenced by ChooseNewColor().
|
|
Definition at line 1175 of file aug98/test/main.c. Referenced by ChooseNewFont().
|
|
Definition at line 1100 of file aug98/test/main.c.
|
|
Definition at line 1228 of file aug98/test/main.c.
|
|
Definition at line 570 of file aug98/test/main.c. Referenced by MainWndProc().
|
|
Definition at line 669 of file aug98/test/main.c. Referenced by OpenNewFile().
|
|
Definition at line 885 of file aug98/test/main.c. Referenced by SaveAs().
|
|
Definition at line 1556 of file aug98/test/main.c. Referenced by CallFindText().
|
|
Definition at line 185 of file aug98/test/main.c.
|
|
Definition at line 224 of file aug98/test/main.c.
|
|
Definition at line 282 of file aug98/test/main.c. Referenced by InitApplication().
|
|
Definition at line 1875 of file aug98/test/main.c. References AllowBinary, BOOL, ColorSpaceControl(), CreateCRDControl(), CreateINTENTControl(), CreateProfCRDControl(), EndDialog(), FALSE, FILE_LEN, hWnd, IDC_BUTTON1, IDC_BUTTON2, IDC_BUTTON3, IDC_EDIT1, IDC_EDIT2, IDC_EDIT3, IDM_CRD, IDM_CSA, IDM_INP_AUTO, IDM_INP_CMYK, IDM_INP_GRAY, IDM_INP_RGB, IDM_PROFCRD, Intent, OpenFileName, OpenNewFile(), SaveAs(), SendDlgItemMessage(), TRUE, wCSAMode, wCSAorCRD, and wInpDrvClrSp. Referenced by MainWndProc().
|
|
Definition at line 755 of file aug98/test/main.c.
|
|
Definition at line 1355 of file aug98/test/main.c. Referenced by PrintFile().
|
|
Definition at line 1418 of file aug98/test/main.c.
|
|
Definition at line 1304 of file aug98/test/main.c. Referenced by PrintFile().
|
|
Definition at line 1826 of file aug98/test/main.c.
|
|
Definition at line 1506 of file aug98/test/main.c. Referenced by CallReplaceText().
|
|
Definition at line 948 of file aug98/test/main.c.
|
|
Definition at line 826 of file aug98/test/main.c.
|
|
Definition at line 1725 of file aug98/test/main.c.
|
|
Definition at line 129 of file aug98/test/main.c. References DispatchMessage(), FALSE, FindReplaceMsg, GetMessage(), hDlgFR, hInst, InitApplication(), InitInstance(), IsDialogMessage, IsWindow(), msg, NULL, RegisterWindowMessage(), and TranslateMessage().
|
|
|
Definition at line 95 of file aug98/test/main.c. Referenced by ChooseFontHookProc(), and ChooseNewFont(). |
|
Definition at line 96 of file aug98/test/main.c. Referenced by ChooseNewColor(). |
|
Definition at line 97 of file aug98/test/main.c. Referenced by ChooseNewColor(), and MainWndProc(). |
|
Definition at line 88 of file aug98/test/main.c. Referenced by EnterNew(), FileOpenHookProc(), FreeProfileObject(), GetColorProfileFromHandle(), LoadCP(), MainWndProc(), SaveToFile(), and SearchFile(). |
|
Definition at line 87 of file aug98/test/main.c. Referenced by CallFindText(), CallReplaceText(), EnterNew(), FileOpenHookProc(), MainWndProc(), PrintFile(), SaveToFile(), and SearchFile(). |
|
Definition at line 89 of file aug98/test/main.c. Referenced by MainWndProc(), and WinMain(). |
|
Definition at line 92 of file aug98/test/main.c. Referenced by CallFindText(), CallReplaceText(), FindTextHookProc(), and ReplaceTextHookProc(). |
|
Definition at line 105 of file aug98/test/main.c. Referenced by CallFindText(), CallReplaceText(), and WinMain(). |
|
|
|
|
Definition at line 98 of file aug98/test/main.c. Referenced by ChooseNewFont(), CreateFontFromWinIni(), CScaleDlg::DeterminWeights(), ECImmSetCompositionFont(), MainWndProc(), CScaleDlg::ResizeControls(), SetFontForMCWVERTICAL(), SetIconFonts(), SPISetIconTitleFont(), UserGetCharDimensionsEx(), WndProc(), WriteBatchResults(), and xxxSetNCFonts(). |
|
Definition at line 94 of file aug98/test/main.c. Referenced by CallFindText(), CallReplaceText(), EnterNew(), FileOpenHookProc(), MainWndProc(), and SearchFile(). |
|
Definition at line 93 of file aug98/test/main.c. Referenced by MainWndProc(), and SearchFile(). |
|
Definition at line 75 of file aug98/test/main.c. Referenced by FileOpenHookProc(), FileSaveHookProc(), OpenFiles(), OpenNewFile(), SaveAs(), and SaveToFile(). |
|
Definition at line 106 of file aug98/test/main.c. Referenced by ChangeICMSetting(), CheckPool(), CMCreateTransformExt(), CMCreateTransformExtW(), DumpAllocatedPool(), DumpPool(), ExQueryPoolUsage(), ISetDeviceData(), CPrinterProfileManagement::OnInit(), PrintDlgHookProc(), PrintFile(), and PrintSetupHookProc(). |
|
Definition at line 76 of file aug98/test/main.c. |
|
Definition at line 77 of file aug98/test/main.c. Referenced by ExtractIconFromBMP(), ExtractIconFromICO(), msProfAvgDlgCreate(), msProfAvgDlgCreateDestroy(), msProfAvgDlgCreateDestroyEmpty(), msProfAvgDlgCreateDestroyNoFont(), msProfAvgDlgCreateDestroyNoMenu(), msProfAvgDlgDraw(), OpenNewFile(), RtlLoadObjectFromDIBFile(), and SaveAs(). |
|
Definition at line 78 of file aug98/test/main.c. Referenced by OpenNewFile(), and SaveAs(). |
|
Definition at line 84 of file aug98/test/main.c. Referenced by OpenNewFile(). |
|
Definition at line 90 of file aug98/test/main.c. Referenced by CallFindText(), and CallReplaceText(). |
|
Definition at line 91 of file aug98/test/main.c. Referenced by CallReplaceText(). |
|
Definition at line 85 of file aug98/test/main.c. Referenced by SaveAs(). |
|
Definition at line 100 of file aug98/test/main.c. Referenced by MainWndProc(). |
|
Definition at line 102 of file aug98/test/main.c. Referenced by MainWndProc(), and OpenFiles(). |
|
Definition at line 104 of file aug98/test/main.c. Referenced by MainWndProc(), OpenFiles(), and SaveAs(). |
|
Definition at line 103 of file aug98/test/main.c. Referenced by MainWndProc(), and OpenFiles(). |
|
Definition at line 101 of file aug98/test/main.c. Referenced by MainWndProc(). |
|
Definition at line 99 of file aug98/test/main.c. Referenced by CallFindText(), CallReplaceText(), ChooseNewColor(), ChooseNewFont(), MainWndProc(), OpenNewFile(), PrintFile(), SaveAs(), and xxxChildResize(). |