uTools-Manuals/src/docs/win32api/1/GetParent.html
2020-06-29 01:56:42 +08:00

14 lines
718 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html>
<body>
<h3>函数功能</h3>该函数获得一个指定子窗口的父窗口句柄。<br>
<h3>函数原型</h3>HWND GetParentHWND hWnd<br>
<h3>参数</h3>
hWnd:子窗口句柄,函数要获得该子窗口的父窗口句柄。<br>
<h3>返回值</h3>如果函数成功返回值为父窗口句柄。如果窗口无父窗口则函数返回NULL。若想获得更多错误信息请调用GetLastError函数。<br>
备注WindowsCEWindows CE1.0版本不支持除了对话框之外的所属子窗口。<br>
<h3>速查</h3>Windows NT3.1以上版本Windows95以上版本Windows CE1.0以上版本头文件Winuser.h库文件user32.lib。<br>
</body>
</html>