Program show the working of toolbar
Sample :
Dim a As VbMsgBoxResult
Select Case Button.Key
Case Is = "New"
a = MsgBox("You click the new button", vbOKOnly, "Button")
Case Is = "Open"
a = MsgBox("You click the open button", vbOKOnly, "Button")
Case Is = "Save"
a = MsgBox("You click the save button", vbOKOnly, "Button")
Case Is = "Close"
a = MsgBox("Are you sure you want to exit", vbYesNo, "Exit")
End Select
If a = vbYes Then
End
End If
End Sub
Full Code :
Output(toolbar.exe)
Full code(toolbar.doc)
Full project(toolbar.zip)
*Note Full project require Visual Basic 6.0