hi everybody
i am using following piece of code to catch the messages. Now
MSDN says that you can only use the low word of the message
parameter of the MSG structure. I know this is very much possible
by using LOWORD in windows programming with C, but how can i read the low word of message from VB?
VB Code:
  1. Private Sub getMessage()
  2. Dim MS As MSG
  3. Do While 1
  4.     DoEvents
  5.     PeekMessage MS, Me.hWnd, WM_MOUSEFIRST, WM_MOUSELAST, PM_REMOVE
  6.     Select Case MS.message
  7.        
  8.         'This is where i need help
  9.  
  10.     End Select
  11. Loop
  12. End Sub

Please help me.
Thanks in advance.