left Mouse click WM_LBUTTONDOWN / WM_LBUTTONUP
Posted: Thu Nov 26, 2020 3:17 am
hi,
i found in c:\hmg.3.4.4\SOURCE\h_windows.prg
so if i "hold" left Mouse click _HMG_SYSDATA[ 193 ] will be 1
now i want to use it to "move Control" but how to "monitor" _HMG_SYSDATA[ 193 ] until "Drop" ( WM_LBUTTONUP )
i found 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
now i want to use it to "move Control" but how to "monitor" _HMG_SYSDATA[ 193 ] until "Drop" ( WM_LBUTTONUP )
