cómo activar el mouse en modo consola

208 views
Skip to first unread message

Daniel Aisenberg

unread,
Jun 16, 2020, 11:20:15 AM6/16/20
to harbou...@googlegroups.com
Buenos días: estoy viendo la sentencia 
FT_MCursor(.T.)

que no me funciona en modo consola. Hay algún método para activar el mouse? 
El objetivo es que active los menues hechos con promt-menu to.

Gracias


GeoffD

unread,
Jun 16, 2020, 10:36:59 PM6/16/20
to Harbour Users
Hi Daniel

at the start of your program 
   activate using this and then Inkey() will 'see' mouse movement and clicks 
 
SET( _SET_EVENTMASK, INKEY_ALL-INKEY_MOVE )

Hope this helps
Geoff

Daniel Aisenberg

unread,
Jun 17, 2020, 3:31:36 AM6/17/20
to harbou...@googlegroups.com
excellent! many thanks!.
Where are these functions documented?

I saw a library that seems to be related with gui functions: gtwvg.hbc
Do you know if it is useful for console applications?

Regards and thanks




--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users

---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/429becc0-d77e-4c22-8a5c-4146e34ece9bo%40googlegroups.com.

GeoffD

unread,
Jun 17, 2020, 6:44:44 AM6/17/20
to Harbour Users
Hi Daniel
Glad to be of help
I'm your documentation in this instance 

I'm still in console world!

GUI operations need more code alterations than I'm needing so I don't know about gtwvg.hbc

I got too creative with clipper too long ago so Modern alterations are difficult!!!!

Cheers 
Geoff


On Wednesday, 17 June 2020 17:31:36 UTC+10, Daniel Aisenberg wrote:
excellent! many thanks!.
Where are these functions documented?

I saw a library that seems to be related with gui functions: gtwvg.hbc
Do you know if it is useful for console applications?

Regards and thanks




On Tue, Jun 16, 2020 at 11:37 PM GeoffD <geoffda...@gmail.com> wrote:
Hi Daniel

at the start of your program 
   activate using this and then Inkey() will 'see' mouse movement and clicks 
 
SET( _SET_EVENTMASK, INKEY_ALL-INKEY_MOVE )

Hope this helps
Geoff


On Wednesday, 17 June 2020 01:20:15 UTC+10, Daniel Aisenberg wrote:
Buenos días: estoy viendo la sentencia 
FT_MCursor(.T.)

que no me funciona en modo consola. Hay algún método para activar el mouse? 
El objetivo es que active los menues hechos con promt-menu to.

Gracias


--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.

Web: http://groups.google.com/group/harbour-users

---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbou...@googlegroups.com.

Adalberto Baqueros Cuellar

unread,
Jun 19, 2020, 11:51:34 AM6/19/20
to Harbour Users
Daniel, buenos días

Por tu nombre y tu mensaje creo que hablas castellano, si crees conveniente puedes escribirme a enin...@yahoo.es veré la mejor forma de ayudarte, luego compartes con la comunidad tus logros.

Un gran abrazo

Adalberto
Reply all
Reply to author
Forward
0 new messages