Can you make a button respond differently to right click?

The question was pretty simple but I really couldn't find anything about it. I'm trying to make a game in win32 api. Is it possible to make a button do something on click and another thing on right-click?

EDIT: P.S: I'm using buttons as resources, accessible by their "#define" IDs. i.e I have not explicitly defined a window class for these buttons.
Last edited on
Are you familiar with Window Subclassing? You can pretty much subvert any control in any bizarre way you want through that technique. Using subclassing, you actually get the message before the actual control does, so you can pass it on, modify it first, or simply 'eat' it yourself.
Topic archived. No new replies allowed.