Questo sito utilizza cookies solo per scopi di autenticazione sul sito e nient'altro. Nessuna informazione personale viene tracciata. Leggi l'informativa sui cookies.
Username: Password: oppure
MessageBox - Form1.frm

Form1.frm

Caricato da:
Scarica il programma completo

  1. Const MB_DEFBUTTON1 = &H0&
  2. Const MB_DEFBUTTON2 = &H100&
  3. Const MB_DEFBUTTON3 = &H200&
  4. Const MB_ICONASTERISK = &H40&
  5. Const MB_ICONEXCLAMATION = &H30&
  6. Const MB_ICONHAND = &H10&
  7. Const MB_ICONINFORMATION = MB_ICONASTERISK
  8. Const MB_ICONQUESTION = &H20&
  9. Const MB_ICONSTOP = MB_ICONHAND
  10. Const MB_OK = &H0&
  11. Const MB_OKCANCEL = &H1&
  12. Const MB_YESNO = &H4&
  13. Const MB_YESNOCANCEL = &H3&
  14. Const MB_ABORTRETRYIGNORE = &H2&
  15. Const MB_RETRYCANCEL = &H5&
  16. Private Declare Function MessageBox Lib "user32" Alias "MessageBoxA" (ByVal hwnd As Long, ByVal lpText As String, ByVal lpCaption As String, ByVal wType As Long) As Long
  17.  
  18. Private Sub Form_Load()
  19. MessageBox Me.hwnd, "MessageBox creata con le API", App.Title, MB_OK
  20. End
  21. End Sub