CWindow::IsWindowUnicode

BOOL IsWindowUnicode( );

See IsWindowUnicode in the Win32 SDK.

Remarks

Determines whether the specified window is a native Unicode window.

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(hWndFoo);
BOOL bUnicode  = myWindow.IsWindowUnicode();

CWindow OverviewClass Members

See Also   CWindow::IsWindow, CWindow::IsWindowEnabled, CWindow::IsWindowVisible