다음을 통해 공유


CWindow::IsWindowUnicode

Determines whether the specified window is a native Unicode window.

BOOL IsWindowUnicode( ) throw();

Remarks

See IsWindowUnicode in the Windows SDK.

Example

//The following example attaches an HWND to the CWindow object and 
//calls CWindow::IsWindowUnicode() to determine if the window is a 
//UNICODE window or an ANSI one.

CWindow myWindow;
myWindow.Attach(hWnd);
BOOL bUnicode = myWindow.IsWindowUnicode();

Requirements

Header: atlwin.h

See Also

Concepts

CWindow Class

CWindow Members

CWindow::IsWindow

CWindow::IsWindowEnabled

CWindow::IsWindowVisible