ciao!
sto esegueno un programma in c e vorrei sapere come posso utilizzare le funzione del mouse, e dei tasti funzione tipo f1 f2 etc..
grazie ciao ciao
ciao!
sto esegueno un programma in c e vorrei sapere come posso utilizzare le funzione del mouse, e dei tasti funzione tipo f1 f2 etc..
grazie ciao ciao
dai un'occhiata all'MSDM per catturare tali eventi.......
ON_WM_CHAR( ) afx_msg void OnChar( UINT, UINT, UINT );
ON_WM_LBUTTONDBLCLK( ) afx_msg void OnLButtonDblClk( UINT, CPoint );
ON_WM_LBUTTONDOWN( ) afx_msg void OnLButtonDown( UINT, CPoint );
ON_WM_LBUTTONUP( ) afx_msg void OnLButtonUp( UINT, CPoint );
ON_WM_MBUTTONDBLCLK( ) afx_msg void OnMButtonDblClk( UINT, CPoint );
ON_WM_MBUTTONDOWN( ) afx_msg void OnMButtonDown( UINT, CPoint );
ON_WM_MBUTTONUP( ) afx_msg void OnMButtonUp( UINT, CPoint );
ON_WM_MOUSEMOVE( ) afx_msg void OnMouseMove( UINT, CPoint );
ON_WM_MOVE( ) afx_msg void OnMove( int, int );