共用方式為


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