网站首页  词典首页

请输入您要查询的函数:

 

术语 iswindowunicode
释义 IsWindowUnicode
语法:
BOOL IsWindowUnicode( HWND hWnd
);
窗口属性函数
在窗口属性函数确定是否指定的窗口是土生土长的Unicode窗口。
参数
hWnd
[in]的窗口句柄测试。
返回值
如果窗口是土生土长的Unicode窗口,返回非零值。
如果窗口不是本机的Unicode窗口,返回值是零。窗口是一个本机的ANSI窗口。
Windows 95/98/Me的:根据,则返回值为非零(真)如果hWnd属于一个函数创建一个窗口,例如CreateWindowExW“,即由Unicode的(MSLU)微软层的支持。然而,如果CreateWindowExA创建窗口,它返回零(真)。
备注
一个窗口的字符集是由该RegisterClass的功能使用。如果窗口类是同RegisterClass的ANSI版本(RegisterClassA)注册的品格,窗口的设置是ANSI。如果窗口类是同RegisterClass的Unicode版本(RegisterClassW)注册的品格,在窗口中设置的是Unicode。
该系统并自动双向翻译(Unicode到ANSI)的为窗口消息。例如,如果一个ANSI窗口消息发送到一个窗口,使用Unicode字符集,系统转换成Unicode的消息,然后调用窗口过程的消息。该系统调用窗口属性,以确定是否翻译信息。
在Windows 95/98/Me:窗口属性的支持,MSLU。要使用此,您必须将某些文件到您的应用,概述了对Unicode的Microsoft层在Windows 95/98/Me系统。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
UnicodeImplemented为Unicode版本。
参见
视窗概述
==英文原文==IsWindowUnicode Function
The IsWindowUnicode function determines whether the specified window is a native Unicode window.
Syntax
BOOL IsWindowUnicode( HWND hWnd
);
Parameters
hWnd
[in] Handle to the window to test.
Return Value
If the window is a native Unicode window, the return value is nonzero.
If the window is not a native Unicode window, the return value is zero. The window is a native ANSI window.
Windows 95/98/Me: Under the , the return value is nonzero (TRUE) if hWnd belongs to a window created by a function, for example CreateWindowExW", that is supported by the Microsoft Layer for Unicode (MSLU). However, if CreateWindowExA creates the window, it returns zero (TRUE).
Remarks
The character set of a window is determined by the use of the RegisterClass function. If the window class was registered with the ANSI version of RegisterClass (RegisterClassA), the character set of the window is ANSI. If the window class was registered with the Unicode version of RegisterClass (RegisterClassW), the character set of the window is Unicode.
The system does automatic two-way translation (Unicode to ANSI) for window messages. For example, if an ANSI window message is sent to a window that uses the Unicode character set, the system translates that message into a Unicode message before calling the window procedure. The system calls IsWindowUnicode to determine whether to translate the message.
Windows 95/98/Me: IsWindowUnicode is supported by MSLU. To use this, you must add certain files to your application, as outlined in Microsoft Layer for Unicode on Windows 95/98/Me Systems .
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
UnicodeImplemented as Unicode version.
See Also
Windows Overview
==原始网址==http://msdn.microsoft.com/en-us/library/ms633529(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:29:38