CWindow::GetStyle
擷取視窗的視窗樣式。
DWORD GetStyle( ) const throw();
傳回值
視窗的樣式。
備註
若要擷取延伸視窗樣式,請呼叫 GetExStyle。
範例
//The following example attaches an HWND to the CWindow object and
//calls CWindow::GetStyle() to retrieve the styles of the window
CWindow myWindow;
myWindow.Attach(hWnd);
DWORD dwStyles = myWindow.GetStyle();
需求
Header: atlwin.h