Originally posted by yenerich
AFAIK a program must be intuitive, what means that has to works as windows uses to work, then the user could easily understand how to use it... then, using a rightclick in a button is quite strange... why use a RC in a button? %)
It's for a game.
Edit: I'm thinking now, I could just use something like:
Sub Command1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbRightButton Then
Command1.Picture = LoadPicture("c:\MyPicture.jpg")
ElseIf Button = vbLeftButton Then
'Display anoter picture maybe?
...and replace it with an image of the button pressed ( a screenshot taken).
well, if there is text on the button that wont work too well... Maybe I will use your idea.
Btw: How would I trigger click? Isnt the click sub only what happends when it is