Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

    [c] Uso del mouse e tasti funzione

    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

  2. #2
    Utente bannato
    Registrato dal
    Apr 2002
    Messaggi
    546
    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 );

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.