In us and applications, we often provide an About dialog that provides some information about our programs to users, we can define an About dialog, but sometimes we can also sneak lazy, because the system also gives us Provided, we only need to call the API, plus some information about our programs. Code very simple void cmdabout (void) {tchar szversion [max_path 1]; ZeromeMory (Szversion, Sizeof (tchar) * (max_path 1));
LoadString (Ghinst, IDS_Version, Szversion, Max_Path);
Shellabout (Ghwndmain, Szversion, Null, Loadicon (Ghinst, MakeintResource (ICO_MAIN)));} We can use an icon when we provide a version, and some instructions. Effect