Sign in to follow this  
n4gix

Gau mouse react?

Recommended Posts

I am making a gauge in c programming, that I want to appear pushed inwhen clicked? So when you hold down the mouse button, it holds a bitmap, and When you release it goes back to the original or to a linked file.Im thinking you would be using mouse react in this operation? thx for any help.(:

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

BOOL FSAPI TEST_cb( PPIXPOINT relative_point, FLAGS32 mouse_flags) { if ( mouse_flags == MOUSE_LEFTSINGLE ) { test = 1 ; } else { test = 0 ; } return FALSE; }MOUSE_BEGIN(C400_TRIM_mouse_rect,0,0,0)MOUSE_CHILD_FUNCT(160,33,41,78,CURSOR_HAND,MOUSE_LEFTSINGLE,TEST_cb)MOUSE_ENDFor the bitmap, you can use either a MAKE_ICON or MAKE_SLIDER macro...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this