April 14, 200620 yr 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.(:
April 14, 200620 yr Author Moderator 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... Fr. Bill AOPA Member: 07141481 AARP Member: 3209010556 Avsim Board of Directors | Avsim Forums Moderator
Create an account or sign in to comment