Beilby Posted February 18, 2010 Share Posted February 18, 2010 Hi, I would like to have my application launch a message box with basic help when F1 is pressed on the active application window. So far all attemps have failed. I could use GUISetHelp to launch notepad with a text file but I would rather have a simple message box #include <GuiConstants.au3> GUICreate("My GUI") $Help = GUISetHelp (MsgBox(32, "Application - Help", "Application displays random information that may be of use sometime." & @CRLF & @CRLF & "If you find some information that is not displayed here please let me know, I might be interested as well" & @CRLF & @CRLF & "Telephone " & @CRLF & "01542 763912")) GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $Help Case Else EndSelect WEnd Exit Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now