Board index » delphi » Graphic Mode & mouse

Graphic Mode & mouse

How can I program the mouse in graphic mode?
I need a sort of Mouse Event of Turbo Vision with mouse down,
left-rigth button, location X, location Y.

From text mode (Turbo Vision) I go to graphic mode where I replicated
a sort of status line with highligthed letters the user can press. I
would like he could also click on them as he  is accustomed to do in
text mode Turbo Vision style.

Thank you, Lauro

 

Re:Graphic Mode & mouse


Quote
>How can I program the mouse in graphic mode?
>I need a sort of Mouse Event of Turbo Vision with mouse down,
>left-rigth button, location X, location Y.

Th mouse-unit included in my GrafX is similar to the one of
Turbo Vision. GrafX is downloadable from my homepage.

Bye,
Stefan
---
please remove the P in my email-adress to answer me
take a look @ my homepage: http://sourcenet.home.pages.de/

Re:Graphic Mode & mouse


In article: <35fec70e.4800...@news.stm.it>  L.Colasa...@agora.stm.it (Lauro

Quote
Colasanti) writes:

>How can I program the mouse in graphic mode?
>I need a sort of Mouse Event of Turbo Vision with mouse down,
>left-rigth button, location X, location Y.

>From text mode (Turbo Vision) I go to graphic mode where I replicated
>a sort of status line with highligthed letters the user can press. I
>would like he could also click on them as he  is accustomed to do in
>text mode Turbo Vision style.

If you have BP7, modify the DRIVERS.PAS interrupt code to remove the two SHR
xx,3 instructions. This will make it return pixel coordinates.

-- Jay

 -----------------------------------------
| Jason Burgon - author of Graphic Vision |
| g...@jayman.demon.co.uk                   |
| http://www.jayman.demon.co.uk           |
 -----------------------------------------

Other Threads