--- np2/win9x/dialog/np2class.h 2005/03/20 13:12:50 1.8 +++ np2/win9x/dialog/np2class.h 2007/01/08 07:52:01 1.9 @@ -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);