CWindow::IsWindowUnicode

确定指定的窗口是否为本机Unicode窗口。

BOOL IsWindowUnicode( ) throw();

备注

在参见 Windows SDK的 IsWindowUnicode

示例

//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();

要求

Header: atlwin.h

请参见

参考

CWindow选件类

CWindow::IsWindow

CWindow::IsWindowEnabled

CWindow::IsWindowVisible