Mega Code Archive

 
Categories / Delphi / System
 

Showing Windows default About box (for beginners)

Title: Showing Windows default About box (for beginners) Question: How I can show Windows About box Answer: Include the unit ShellAPI in the uses clause. { the ShellAbout calls the default Windows about box, with the application title and you name/copyright... } // to call ShellAbout and show your own application icon, use this ShellAbout(Handle, 'Your Application Name', 'Your Name', Application.Icon.Handle); or ShellAbout(Handle, 'Your Application Name', 'Your Name', Image1.Picture.Icon.Handle); // to show the default Windows icon, call ShellAbout like this line of code ShellAbout(Handle, 'Your Application Name', 'Your Name', 0);