LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change Mousepointer in Picture Control

Hi,

can someone tell my how I can change the mousepointer in a picture control
during runtime?

I want to read the mouse (x and y) position from the control and the
standard pointer (hand symbol) ist not appropriate to point on a position,
the better one is the cross symbol.

Or can someone tell me how I can display a 1-bit pixmap with an x/y-Graph or
something else. The most important thing I need is to get the x and y
dimensions from a picture to do some measurement.

Thangs foreward,

Christian
0 Kudos
Message 1 of 2
(2,528 Views)
Hi Christian,

there is an example programme on the NI site:

http://digital.ni.com/explprog.nsf/75c7cd5de6d387788625663d00558a4c/ded95912349dddf686256783008359f6?OpenDocument

This also works in a picture control field. Just put the Mouse-Attribute of the
picture control in the "for loop" and change param2 of the "Call Library
Function" to 32515 to get a nice cross symbol. 🙂

Markus



Christian Dolzer wrote:

> Hi,
>
> can someone tell my how I can change the mousepointer in a picture control
> during runtime?
>
> I want to read the mouse (x and y) position from the control and the
> standard pointer (hand symbol) ist not appropriate to point on a position,
> the better one is the cross symbol.
>
> Or can someone tell me how I can display a 1-bit pixmap with an x/
y-Graph or
> something else. The most important thing I need is to get the x and y
> dimensions from a picture to do some measurement.
>
> Thangs foreward,
>
> Christian

--
Markus Buchner
EML
Schloß-Wolfsbrunnenweg 33
69118 Heidelberg
Germany

Tel. 06221-9056618
Priv. 06221-455664
0 Kudos
Message 2 of 2
(2,528 Views)