1 //$ class Upp::TopWindow { 2 public: 3 virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam); 4 5 private: 6 dword style; 7 dword exstyle; 8 HICON ico, lico; 9 10 void DeleteIco(); 11 void CenterRect(HWND owner, int center); 12 13 public: 14 void Open(HWND ownerhwnd); 15 TopWindow& Style(dword _style); GetStyle()16 dword GetStyle() const { return style; } 17 TopWindow& ExStyle(dword _exstyle); GetExStyle()18 dword GetExStyle() const { return exstyle; } 19 //$ };