john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

win32 win ce mouse input

UINT GetDoubleClickTime(void);

BOOL WINAPI GetMouseMovePoints (
PPOINT pptBuf,
UINT nBufPoints,
UINT *pnPointsRetrieved );

The GetMouseMovePoints function allows an application to track stylus input at a somewhat higher resolution than the resolution of the display screen. This makes it possible to improve inking performance.

GetMouseMovePoints does not draw the ink; it just makes it easier to collect the points so another function can draw them.

WM_LBUTTONDBLCLK fwKeys = wParam; xPos = LOWORD(lParam); yPos = HIWORD(lParam);

windows that have the CS_DBLCLKS style can receive WM_LBUTTONDBLCLK messages

left mouse button double click actually =

WM_LBUTTONDOWN, WM_LBUTTONUP, WM_LBUTTONDBLCLK, and WM_LBUTTONUP again.

WM_LBUTTONUP fwKeys = wParam;   xPos = LOWORD(lParam);  yPos = HIWORD(lParam);
WM_LBUTTONDOWN fwKeys = wParam; xPos = LOWORD(lParam);  yPos = HIWORD(lParam);
WM_MOUSEMOVE fwKeys = wParam;   xPos = LOWORD(lParam);  yPos = HIWORD(lParam);

wParam values: MK_CONTROL Set if the CTRL key is down. MK_LBUTTON Set if the left mouse button is down. MK_SHIFT Set if the SHIFT key is down.

MK_MBUTTON  middle button - not always available
MK_RBUTTON  right button - not always available

http://msdn.microsoft.com/en-us/library/aa130739.aspx


  • « php get page remove between brackets
  • win32 erase invalidaterect »

Published

Mar 11, 2010

Category

c-programming-guides

~152 words

Tags

  • c-programming-guides 25
  • input 7
  • mouse 5
  • win32 6
  • wince 4