Mouse WM_LBUTTONDOWN / WM_LBUTTONUP

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
AUGE_OHR
Posts: 665
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany
Has thanked: 85 times
Been thanked: 161 times

Mouse WM_LBUTTONDOWN / WM_LBUTTONUP

Post by AUGE_OHR »

hi,

i save in c:\hmg.3.4.4\SOURCE\h_init.prg

Code: Select all

	* _HMG_SYSDATA [ 191 ] -> _HMG_MouseRow
	* _HMG_SYSDATA [ 192 ] -> _HMG_MouseCol
	* _HMG_SYSDATA [ 193 ] -> _HMG_MouseState
in c:\hmg.3.4.4\SOURCE\h_windows.prg

Code: Select all

   case nMsg == WM_LBUTTONDOWN
      _HMG_SYSDATA [ 193 ] := 1

   case nMsg == WM_LBUTTONUP
      _HMG_SYSDATA [ 193 ] := 0
Question : how can i get _HMG_SYSDATA [ 193 ] when WM_LBUTTONDOWN or. WM_LBUTTONUP (not nMsg ) :idea:
have fun
Jimmy

Post Reply