Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MenuHelpAbout(*)
- {
- About := Gui("+owner" MyGui.Hwnd) ; Make the main window the owner of the "about box".
- MyGui.Opt("+Disabled") ; Disable main window.
- About.Add("Text",, "Text for about box.")
- About.Add("Button", "Default", "OK").OnEvent("Click", About_Close)
- About.OnEvent("Close", About_Close)
- About.OnEvent("Escape", About_Close)
- About.Show()
- About_Close(*)
- {
- MyGui.Opt("-Disabled") ; Re-enable the main window (must be done prior to the next step).
- About.Destroy() ; Destroy the about box.
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement