use the about box of windows in your application
Posted: Mon Oct 01, 2001 9:43 pm
Restored from previous forum. Originally posted by Franco.
Code updated for 5.20+
Hi all, this is very easy and sometimes sufficient...
Have a nice day...
Franco
Edited by - franco on 01 October 2001 22:44:54
Code updated for 5.20+
Hi all, this is very easy and sometimes sufficient...
Code: Select all
; (c) 2001 - Franco's template - absolutely freeware
; use the about box of windows in your application...
; you can use your own icon, change the path and file name...
; the only thing is I can't set the position of these about box
OpenWindow (0,200,200, 320, 240, "About", #PB_Window_SystemMenu)
; icon # 0 = standard windows icon
ShellAbout_(WindowID(0), "Whatever # DOS", "What you want...", 0)
; load your icon
LoadImage(2, #PB_Compiler_Home + "Examples\Sources\Data\Drive.bmp") ;change path and name
ShellAbout_(WindowID(0), "This program is running under: # Windows Operating System","It seems you like it... or you have to... :- (", ImageID(2)) Have a nice day...
Franco
Edited by - franco on 01 October 2001 22:44:54