次の方法で共有


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