CRectTracker::SetCursor

BOOL SetCursor ( CWnd * pWnd, UINT nHitTest ) const;

Valore restituito

Diverso da zero se il colpo precedente è stata sopra il rettangolo inseguitore; in caso contrario 0.

Parametri

pWnd

Punti alla finestra che attualmente contiene il cursore.

nHitTest

Risultati dell'hit test precedente, dal messaggio WM_SETCURSOR.

Osservazioni

Chiamare questa funzione per cambiare la forma del cursore mentre è sulla regione dell'oggetto CRectTracker.

Chiamare questa funzione all'interno della funzione della finestra che gestisce il messaggio WM_SETCURSOR (tipicamente OnSetCursor).

Pa&noramica di CRectTracker |nbsp; Membri della classe | Gerarchia Chart

Vedere anchenbsp;CRectTracker::&NormalizeHit, CRectTracker::HitTest, CWinApp::LoadCursor, CWnd::OnSetCursor

Index