网站首页  词典首页

请输入您要查询的函数:

 

术语 changeclipboardchain
释义 ChangeClipboardChain
语法:
BOOL ChangeClipboardChain( HWND hWndRemove,
HWND hWndNewNext
);
ChangeClipboardChain功能
该ChangeClipboardChain函数删除了由剪贴板观众链指定的窗口。
参数
hWndRemove
[in]的窗口的句柄被遣送链。句柄必须已传递到SetClipboardViewer功能。
hWndNewNext
[in]的窗口句柄后面的剪贴板查看器链hWndRemove窗口。 (这是处理返回SetClipboardViewer,除非该序列在回答WM_CHANGECBCHAIN消息改变。)
返回值
返回值表示通过WM_CHANGECBCHAIN消息在剪贴板查看器链的窗户结果。由于链中的一个窗口通常返回FALSE当它处理WM_CHANGECBCHAIN,来自ChangeClipboardChain返回值通常是假。如果只有一个链中的窗口,返回值通常是真。
备注
由hWndNewNext确定的窗口取代链中的hWndRemove窗口。该SetClipboardViewer函数发送WM_CHANGECBCHAIN信息,在剪贴板查看器链的第一个窗口。
有关示例,请参阅删除从剪贴板查看链窗口。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
UnicodeImplemented为Unicode版本。
参见
剪贴板,ChangeClipboardChain,SetClipboardViewer,WM_CHANGECBCHAIN
==英文原文==ChangeClipboardChain Function
The ChangeClipboardChain function removes a specified window from the chain of clipboard viewers.
Syntax
BOOL ChangeClipboardChain( HWND hWndRemove,
HWND hWndNewNext
);
Parameters
hWndRemove
[in] Handle to the window to be removed from the chain. The handle must have been passed to the SetClipboardViewer function.
hWndNewNext
[in] Handle to the window that follows the hWndRemove window in the clipboard viewer chain. (This is the handle returned by SetClipboardViewer, unless the sequence was changed in response to a WM_CHANGECBCHAIN message.)
Return Value
The return value indicates the result of passing the WM_CHANGECBCHAIN message to the windows in the clipboard viewer chain. Because a window in the chain typically returns FALSE when it processes WM_CHANGECBCHAIN, the return value from ChangeClipboardChain is typically FALSE. If there is only one window in the chain, the return value is typically TRUE.
Remarks
The window identified by hWndNewNext replaces the hWndRemove window in the chain. The SetClipboardViewer function sends a WM_CHANGECBCHAIN message to the first window in the clipboard viewer chain.
For an example, see Removing a Window from the Clipboard Viewer Chain .
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
Clipboard , ChangeClipboardChain, SetClipboardViewer , WM_CHANGECBCHAIN
==原始网址==http://msdn.microsoft.com/en-us/library/ms649034(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:24:17