Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to start window "About Microsoft Visual FoxPro" ?

Status
Not open for further replies.

zdek

Programmer
Mar 19, 2007
1
CZ
This about window can be started from menu as bar# _mst_about. Is it possible to run it from program code ? (VPF 6)
 
Assuming that the menu is defined (you don't have to activate it):

sys(1500, '_mst_about','_MSM_SYSTM')
 
Or this.

Code:
DECLARE INTEGER ShellAbout IN shell32;
	INTEGER hwnd,;
	STRING  szApp,;
	STRING  szOtherStuff,;
	INTEGER hIcon

hwnd = 0
szApp = ">>> The ShellAbout function # >>> displays a Shell About dialog box"
szOtherStuff = ">>> If the function succeeds, the return value is TRUE"
hIcon = 0
	
? ShellAbout (hwnd, szApp, szOtherStuff, hIcon)

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
ReFox XI (www.mcrgsoftware.com)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top