04-22-2009 07:43 AM
Bonjour
Comment utiliser l'événement OnPan du CWGraph. Déjà, je n'ai trouvé aucune trace de cet événement dans la documentation du CWGraph, elle n'est présente que dans la documentation du CWGraph3D (qui a 3paramètres : X, Y et Z, on peut supposer que pour le CWGraph, le Z est absent)
Ensuite quel est le numéro d'événement de OnPan ainsi que la syntaxe de ses paramètres ? J'ai bien trouvé un exemple avec OnCursorChange que j'utilise déjà :
ON_EVENT(CCWGraph, IDC_CWGRAPH, 1, OnCursorChange, VTS_PI4 VTS_PVARIANT VTS_PVARIANT VTS_PBOOL)
mais aucun avec OnPan.
Merci d'avance
04-23-2009 03:37 AM
Good morning,
In this part of the forum, it's better to speak in english as it's an international part (if you want there is a french community 😉 : http://forums.ni.com/ni/board?board.id=4170 )
Then the OnPan event can indicates the end of the panning operation.
My first question is why do you want to use this event? And what is the version of your measurement Studio?
Regards,
Nacer M. | Certified LabVIEW Architecte
04-23-2009 06:46 AM - edited 04-23-2009 06:55 AM
Hi
I just wanted to synchronise multiple CWGraph (cursors & X axis position). I've already synchronised cursors of each CWGraph using OnCursorChange Event.
Finally I decided to use DISPID_MOUSEMOVE and CursorChange events to do this.