|
|
tracking mouse position
Hi everyone,
I am trying to build a simple gui which will diplay a different picture from a file according to the position of the mouse (or when the mouse is clicked) on a picture.
Do you know how I can to that easily???
thanks
pierre
|
|
0
|
|
|
|
Reply
|
pierre
|
1/8/2010 7:22:20 PM |
|
Sorry I just realised I did not give much detail:
My main concern is to obtain the "live" position of the mouse, because then the rest should be easy...
pierre
"pierre vernhes" <ppp@yahoo.fr> wrote in message <hi80lc$btf$1@fred.mathworks.com>...
> Hi everyone,
>
> I am trying to build a simple gui which will diplay a different picture from a file according to the position of the mouse (or when the mouse is clicked) on a picture.
> Do you know how I can to that easily???
> thanks
> pierre
|
|
0
|
|
|
|
Reply
|
pierre
|
1/8/2010 7:29:37 PM
|
|
Have a look at the sample GUI corresponding to question #24:
http://www.mathworks.com/matlabcentral/fileexchange/24861-35-complete-gui-examples
That will give you a good start.
|
|
0
|
|
|
|
Reply
|
Matt
|
1/8/2010 9:02:19 PM
|
|
|
2 Replies
402 Views
(page loaded in 0.035 seconds)
Similiar Articles: tracking mouse position - comp.soft-sys.matlabHi everyone, I am trying to build a simple gui which will diplay a different picture from a file according to the position of the mouse (or when th... Controlling mouse pointer using hand movement - comp.soft-sys ...On Windows you can set the position of the Mouse cursor with: set(0, 'PointerLocation', [X ... pointer on my screen by moving my hand in front of a web camera.i can track ... Best way to implement drag and drop for a DIV? - comp.lang ...It works, but tracking of the mouse pointer is poor. In other words, as long as I move the ... set some global status var on the DIV's onmouseover event to indicate location ... opengl using mouse to draw lines - comp.graphics.api.opengl ...... so far: - i can get users mouse click (x,y coords) in mouse down method - convert then to 3d coords using gluUnproject - track ... first click to the current mouse position ... opengl math - comp.graphics.api.opengl... 500.0f; // bigger, slow rotate // Here we keep track of the ... middleX) && (mousePos_y == middleY) ) return; > > // Set the mouse position to the ... Problems with Jtrack-3D - comp.sys.mac.appsNot sure if this is the correct location but is anybody ... With your mouse you can move your ... 24 issues for $ ... JTrac - open source and customizable issue-tracking in ... How can I change the color of my cursor? - comp.sys.mac.misc ...Sometimes I lose track of where my cursor is. What is ... on my part: click on a color with the ... under mouse ... contenteditable divs and setting the cursor position ... Pixel value under cursor? - comp.graphics.apps.gimpJohn. >> > > And on ooops on my part: click on a color with the ... under mouse - comp.graphics.api.opengl Change ... the RGB value of a pixel under the mouse cursor How ... Insert a string into the text of textarea. Caret? IE question ...... say 0123456789, selecting several digits and then clicking with a mouse on ... base/view.phtml/aid/1052/fid/130 and I used it, too - to keep track of cursor position.... moving the record pointer using RecordID - comp.databases ...... Go To Record[Num] will go to record in position Num ... Record Scrolling using Mouse Wheel in FMP7 - comp.databases ... slowly, the 'window' will track the pointer ... Tutorials:Mouse Position - jQuery JavaScript LibraryTracking mouse position. As you can see if you move your mouse, the values are constantly read and updated as the mouse moves: VB Helper: HowTo: Track the mouse's movement and display its ...Title: Track the mouse's movement and display its position in a tooltip-like window: Description: Keywords: mouse, cursor, movement, track mouse: Categories 7/21/2012 11:44:11 PM
|
|
|
|
|
|
|
|
|