--- np2/win9x/dialog/np2class.h 2003/10/30 12:45:38 1.1 +++ np2/win9x/dialog/np2class.h 2007/01/08 07:52:01 1.9 @@ -2,11 +2,24 @@ // 猫用、拡張クラス。 -extern const char np2dlgclass[]; +extern const TCHAR np2dlgclass[]; void np2class_initialize(HINSTANCE hinst); void np2class_deinitialize(void); void np2class_move(HWND hWnd, int posx, int posy, int cx, int cy); -// int CALLBACK np2class_propetysheet(HWND hWndDlg, UINT uMsg, LPARAM lParam); +int CALLBACK np2class_propetysheet(HWND hWndDlg, UINT uMsg, LPARAM lParam); + + +// ---- 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, UINT8 type); +void np2class_frametype(HWND hWnd, UINT8 thick); +HMENU np2class_gethmenu(HWND hWnd);