ShellAboutA
函数功能:该函数用于弹出一个系统关于窗口(如右图所示)

函数原型:int ShellAboutA(ulong al_hWnd, string as_szApp, string as_szOtherStuff, ulong hIcon)
参数:
al_hWnd:窗口的句柄(hwnd)
as_szApp:名称,该名称会显示在标题和第一行(如右图所示)
as_szOtherStuff:版权信息,会在版权所有...的下面一行出现。
hIcon:图标句柄,图标会在左上角(如右图记事本图标)处显示。可以由LoadImage、ExtractIcon、Loadicon等函数返回。该值可以为0表示没有图标。
返回值:返回0表示运行失败,返回非0表示成功。
调用代码:
VB代码:
function int ShellAboutA(ulong al_hWnd, string as_szApp, string as_szOtherStuff, ulong hIcon) library "shell32.dll"
ShellAboutA(handle(parent),"软件名称","版权信息,0)
C++代码:
#include <windows.h>
然后在main里面使用
ShellAboutA(handle(parent),"软件名称","版权信息,0)
易语言代码:
.版本 2
.DLL命令 ShellAboutA, 整数型, , , , 该函数用于弹出一个系统关于窗口
.参数 HWND, 整数型, , 窗口的句柄(hwnd)
.参数 as_szApp, 文本型, , 名称
.参数 as_szOtherStuff, 文本型, , 版权信息
.参数 hIcon, 整数型, , 图标句柄,图标会在左上角处显示。可以由LoadImage、ExtractIcon、Loadicon等函数返回。该值可以为0表示没有图标。