--- np2/win9x/dialog/np2class.h 2005/02/09 20:11:36 1.7 +++ np2/win9x/dialog/np2class.h 2007/01/08 07:52:01 1.9 @@ -2,7 +2,7 @@ // 猫用、拡張クラス。 -extern const OEMCHAR np2dlgclass[]; +extern const TCHAR np2dlgclass[]; void np2class_initialize(HINSTANCE hinst); void np2class_deinitialize(void); @@ -11,10 +11,10 @@ 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);