网站首页  词典首页

请输入您要查询的函数:

 

术语 shellabout
释义 ShellAbout
语法:
int ShellAbout( HWND hWnd,
LPCTSTR szApp,
LPCTSTR szOtherStuff,
HICON hIcon
);
ShellAbout功能
ShellAbout显示一个对话框。
参数
hWnd
[in]的窗口句柄的父窗口。此参数可以为NULL。
szApp
[in]指向一个空结束的字符串,其中包含要显示的文本在ShellAbout对话框的标题栏和文字后,“微软在对话框的第一行”。如果文本包含一个分隔符(#)分成两个部分它的功能后,显示文本“微软在标题栏的第一部分的第一行和第二部分”。
微软Windows 2000,Windows XP中,Windows Server 2003的:如果该字符串指向此参数包含分隔符(#),则该字符串必须是可写的。
Windows Vista中的Windows Server 2008:该字符串不能超过200个字符的长度。
szOtherStuff
[in]指向一个空结束的字符串,其中包含的文字显示在对话框后,版本和版权信息。此参数可以为NULL。
hIcon的
[in]手柄的图标,在对话框中显示的功能。此参数可以为NULL,在这种情况下,功能显示Windows或Microsoft Windows NT图标。
返回值
TRUE,如果成功,否则为false。
备注
请注意,ShellAbout函数对话框中使用的文本和默认图标所特有的是Windows或Windows NT。
要看到一个ShellAbout对话框例如,选择关于从帮助菜单中的下拉列表在Windows资源管理器窗口。
在Windows 95/98/Me:ShellAbout是支持的Unicode(MSLU)微软层。要使用MSLU,您必须将某些文件到您的应用,概述了对Unicode的Microsoft层在Windows 95/98系统。
功能信息
最低DLL版本 shell32.dll版本3.51或更高版本
自定义ImplementationNo
Headershellapi.h
import libraryshell32.lib
最低经营systemsWindows NT 3.5中,Windows 95中
UnicodeImplemented为ANSI和Unicode版本。
==英文原文==ShellAbout Function
Displays a ShellAbout dialog box.
Syntax
int ShellAbout( HWND hWnd,
LPCTSTR szApp,
LPCTSTR szOtherStuff,
HICON hIcon
);
Parameters
hWnd
[in] A window handle to a parent window. This parameter can be NULL.
szApp
[in] A pointer to a null-terminated string that contains text to be displayed in the title bar of the ShellAbout dialog box and on the first line of the dialog box after the text "Microsoft". If the text contains a separator (#) that divides it into two parts, the function displays the first part in the title bar and the second part on the first line after the text "Microsoft".
Microsoft Windows 2000, Windows XP, Windows Server 2003: If the string pointed to by this parameter contains a separator (#), then the string must be writeable.
Windows Vista, Windows Server 2008: This string cannot exceed 200 characters in length.
szOtherStuff
[in] A pointer to a null-terminated string that contains text to be displayed in the dialog box after the version and copyright information. This parameter can be NULL.
hIcon
[in] The handle of an icon that the function displays in the dialog box. This parameter can be NULL, in which case the function displays the Windows or Microsoft Windows NT icon.
Return Value
TRUE if successful; otherwise, FALSE.
Remarks
Note that the ShellAbout function dialog box uses text and a default icon that are specific to either Windows or Windows NT.
To see an example of a ShellAbout dialog box, choose About Windows from the Help menu drop-down list in Windows Explorer.
Windows 95/98/Me: ShellAbout is supported by the Microsoft Layer for Unicode (MSLU). To use MSLU, you must add certain files to your application, as outlined in Microsoft Layer for Unicode on Windows Me/98/95 Systems .
Function Information
Minimum DLL Versionshell32.dll version 3.51 or later
Custom ImplementationNo
Headershellapi.h
Import libraryshell32.lib
Minimum operating systemsWindows NT 3.5, Windows 95
UnicodeImplemented as ANSI and Unicode versions.
==原始网址==http://msdn.microsoft.com/en-us/library/bb762152(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:22:56