Documentation ¶
Rendered for windows/amd64
Index ¶
Constants ¶
View Source
const ( ID_BUT_OK = 1 ID_BUT_CANCEL = 2 ID_BUT_ABORT = 3 ID_BUT_RETRY = 4 ID_BUT_IGNORE = 5 ID_BUT_YES = 6 ID_BUT_NO = 7 )
View Source
const ( // The message box contains three push buttons: Abort, Retry, and Ignore. MB_ABORTRETRYIGNORE = 0x00000002 // The message box contains three push buttons: Cancel, Try Again, Continue. Use this message box type instead of MB_ABORTRETRYIGNORE. MB_CANCELTRYCONTINUE = 0x00000006 // Adds a Help button to the message box. When the user clicks the Help button or presses F1, the system sends a WM_HELP message to the owner. MB_HELP = 0x00004000 // The message box contains one push button: OK. This is the default. MB_OK = 0x00000000 // The message box contains two push buttons: OK and Cancel. MB_OKCANCEL = 0x00000001 // The message box contains two push buttons: Retry and Cancel. MB_RETRYCANCEL = 0x00000005 // The message box contains two push buttons: Yes and No. MB_YESNO = 0x00000004 // The message box contains three push buttons: Yes, No, and Cancel. MB_YESNOCANCEL = 0x00000003 // An exclamation-point icon appears in the message box. MB_ICONEXCLAMATION = 0x00000030 // An exclamation-point icon appears in the message box. MB_ICONWARNING = 0x00000030 // An icon consisting of a lowercase letter i in a circle appears in the message box. MB_ICONINFORMATION = 0x00000040 // An icon consisting of a lowercase letter i in a circle appears in the message box. MB_ICONASTERISK = 0x00000040 // A question-mark icon appears in the message box. The question-mark message icon is no longer recommended because it does not clearly represent a specific type of message and because the phrasing of a message as a question could apply to any message type. In addition, users can confuse the message symbol question mark with Help information. Therefore, do not use this question mark message symbol in your message boxes. The system continues to support its inclusion only for backward compatibility. MB_ICONQUESTION = 0x00000020 // A stop-sign icon appears in the message box. MB_ICONSTOP = 0x00000010 // A stop-sign icon appears in the message box. MB_ICONERROR = 0x00000010 // A stop-sign icon appears in the message box. MB_ICONHAND = 0x00000010 // The first button is the default button. MB_DEFBUTTON1 = 0x00000000 // The second button is the default button. MB_DEFBUTTON2 = 0x00000100 // The third button is the default button. MB_DEFBUTTON3 = 0x00000200 // The fourth button is the default button. MB_DEFBUTTON4 = 0x00000300 )
View Source
const ERROR_SUCCESS = 0
View Source
const HCBT_ACTIVATE = 5
View Source
const NULL = 0
View Source
const WH_CBT = 5
Variables ¶
This section is empty.
Functions ¶
func UnhookWindowsHookEx ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.