共用方式為


CWindow::GetExStyle

擷取視窗的延伸視窗樣式。

DWORD GetExStyle( ) const throw();

傳回值

視窗的擴展樣式。

備註

若要擷取規則視窗樣式,請呼叫 GetStyle

範例

//The following example attaches an HWND to the CWindow object and 
//calls CWindow::GetExStyle() to retrieve the extended styles of 
//the window

CWindow myWindow;
myWindow.Attach(hWnd);
DWORD dwExStyles = myWindow.GetExStyle();

需求

Header: atlwin.h

請參閱

參考

CWindow 類別

CWindow::ModifyStyleEx