--- np2/win9x/dialog/np2class.h 2003/11/04 15:44:59 1.4 +++ np2/win9x/dialog/np2class.h 2007/01/08 07:52:01 1.9 @@ -2,7 +2,7 @@ // 猫用、拡張クラス。 -extern const char np2dlgclass[]; +extern const TCHAR np2dlgclass[]; void np2class_initialize(HINSTANCE hinst); void np2class_deinitialize(void); @@ -11,14 +11,15 @@ void np2class_move(HWND hWnd, int posx, int CALLBACK np2class_propetysheet(HWND hWndDlg, UINT uMsg, LPARAM lParam); -enum { - NP2GWL_HMENU = 0, - NP2GWL_SIZE = 4 -}; +// ---- class + +#define NP2GWLP_HMENU (0 * sizeof(LONG_PTR)) +#define NP2GWLP_SIZE (1 * sizeof(LONG_PTR)) void np2class_wmcreate(HWND hWnd); void np2class_wmdestroy(HWND hWnd); void np2class_enablemenu(HWND hWnd, BOOL enable); -void np2class_windowtype(HWND hWnd, BYTE type); +void np2class_windowtype(HWND hWnd, UINT8 type); +void np2class_frametype(HWND hWnd, UINT8 thick); HMENU np2class_gethmenu(HWND hWnd);