You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.0 KiB
35 lines
1.0 KiB
#ifndef _ADJUSTUI_H_
|
|
#define _ADJUSTUI_H_
|
|
|
|
#define CTRL_BITMAP 1
|
|
#define CTRL_TEXT 2
|
|
|
|
typedef struct tagSTATICCTRL {
|
|
UINT nCtrlType;
|
|
union {
|
|
UINT nID;
|
|
LPCTSTR lpcszStr;
|
|
};
|
|
UINT nCtrlID;
|
|
DWORD dwStyle;
|
|
RECT rect;
|
|
} STATICCTRL;
|
|
typedef STATICCTRL* PSTATICCTRL;
|
|
typedef const STATICCTRL* PCSTATICCTRL;
|
|
|
|
typedef struct tagMODIFYDLGTEMPLATE {
|
|
HINSTANCE hinst;
|
|
DWORD dwStyle;
|
|
SIZE sizeCtrlsOffset;
|
|
STATICCTRL scBmpCtrl;
|
|
STATICCTRL scTextCtrl;
|
|
} MODIFYDLGTEMPLATE;
|
|
typedef MODIFYDLGTEMPLATE* PMODIFYDLGTEMPLATE;
|
|
typedef const MODIFYDLGTEMPLATE* PCMODIFYDLGTEMPLATE;
|
|
|
|
HRESULT PrepareDlgTemplate(PCMODIFYDLGTEMPLATE pmdt, LPCVOID pvDlg, PVOID *ppvDT, LPDWORD pcbDlg);
|
|
HRESULT SetDlgTemplateFont(HINSTANCE hInst, UINT nDlgID, const LOGFONT *plf, PVOID *ppvDT);
|
|
BOOL IsTahomaFontExist(HWND hWnd);
|
|
int CALLBACK PropSheetProc(HWND hDlg, UINT uMsg, LPARAM lParam);
|
|
|
|
#endif
|