How
to add an AboutBox to my application?
Date: Wed, 19 May 1999 11:03:09 -0700
(copied and edited from a message posted on borland.public.cpp.language)
You create a form and keep it hidden. Then
when the user clicks on a button, you call the form's
show method.
1. Create a button.
2. add the line 'AboutBox->ShowModal();' to the button.
3. create a form.
4. change form border to bsDialog.
5. add information to it.
6. rename it 'AboutBox', and caption to 'About
This Program'.
To get a 'C' Copyright symbol make sure the number
lock is on, hold ALT, and type in 0169; this is done
in a labels caption for example.
Popular C++ topics at The Database Managers:
|