|
-
Oct 7th, 2002, 06:08 AM
#1
Thread Starter
Hyperactive Member
windows about box
ok. my trusty notepad went bad. so i coppied it off of a xp computer with a Winddows XP about box. but when it got to my 2000 machine bang it was 2000! i also tried copying 2 other apps (excluseive to xp) and they both had 2000 about boxes.
so this suggests to me that there is a way to call up the about box and put your own custom little picture and prog name (like ms did with notepad) AND the windows info would change with the system.
NOT GETTING IT YET ? HERE IS WHAT I WANT TO DO START>PROG>ACCS>NOTEPAD NOTEPAH>HELP>ABOUT
-
Oct 7th, 2002, 06:30 AM
#2
a lot of windows built in MS programs use that same about box to display their information... i am not sure if you can use it or not in your own apps... but there is an API function called ShellAbout... you may want to check that out
-
Oct 7th, 2002, 06:33 AM
#3
VB Code:
Private Declare Function ShellAbout Lib "shell32.dll" _
Alias "ShellAboutA" (ByVal hWnd As Long, ByVal szApp As _
String, ByVal szOtherStuff As String, ByVal hIcon As Long) As _
Long
Private Sub Form_Load()
ShellAbout Me.hWnd, "My App Name", "Other Information", _
ByVal 0&
End Sub
-
Oct 7th, 2002, 06:47 AM
#4
a-ha... i was right
-
Oct 7th, 2002, 06:48 AM
#5
Yup, I'll be honest, I didn't know about that one, it was only 'cause you put that reply down, that I could look up the call & do the sample - thanks!
-
Oct 7th, 2002, 06:52 AM
#6
i found it in the API guide.. i just didn't try a sample because it is monday morning and there is much to do here
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|