find Mouse-Key Event

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
AUGE_OHR
Posts: 2093
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

find Mouse-Key Event

Post by AUGE_OHR »

hi,

my Mouse have 2 Button which i can use in Firefox or Edge to "go Back / Forward"
is it possible to get these Event and use it in App :idea:
have fun
Jimmy
User avatar
danielmaximiliano
Posts: 2625
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: find Mouse-Key Event

Post by danielmaximiliano »

*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
AUGE_OHR
Posts: 2093
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: find Mouse-Key Event

Post by AUGE_OHR »

hi,

thx for link.

i have add it but no luck :(

Code: Select all

   ELSEIF nMsg = WM_XBUTTONDOWN
      IF nWParam = MK_XBUTTON1
         Go_PagePrior()
      ELSEIF nWParam = MK_XBUTTON2
         Go_PageNext()
      ENDIF
any Tip :idea:
have fun
Jimmy
User avatar
AUGE_OHR
Posts: 2093
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: find Mouse-Key Event

Post by AUGE_OHR »

hi,

got it :D
must be LoWord()

Code: Select all

   ELSEIF nMsg = WM_XBUTTONDOWN
      IF LoWord(nWParam) = MK_XBUTTON1
         Go_PagePrior()
      ELSEIF LoWord(nWParam) = MK_XBUTTON2
         Go_PageNext()
      ENDIF
   ENDIF
have fun
Jimmy
User avatar
danielmaximiliano
Posts: 2625
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: find Mouse-Key Event

Post by danielmaximiliano »

AUGE_OHR wrote: Fri Dec 18, 2020 11:26 pm hi,

got it :D
must be LoWord()

Code: Select all

   ELSEIF nMsg = WM_XBUTTONDOWN
      IF LoWord(nWParam) = MK_XBUTTON1
         Go_PagePrior()
      ELSEIF LoWord(nWParam) = MK_XBUTTON2
         Go_PageNext()
      ENDIF
   ENDIF
Hi : in your application what would be the use of these mouse buttons?
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
AUGE_OHR
Posts: 2093
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: find Mouse-Key Event

Post by AUGE_OHR »

hi,
danielmaximiliano wrote: Sat Dec 19, 2020 1:46 am in your application what would be the use of these mouse buttons?
it was just a Idea to "navigate" like in Browser ( FF, Edge )

Code: Select all

   Go_PagePrior()
   Go_PageNext()
most Mouse do have those Button so i want to use it.
i can use it e.g. instead of Keyboard PgDn / PgUp when have Hand on Mouse
have fun
Jimmy
Post Reply