Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Free Drawing with OnScreenDraw for telestrator function
#6
Hi Gintaras,
Sorry to bug you about this. The GetMouseMovePoints function would be useful for telestrator as well as gesture functions where it is important to know over what onscreen elements the gesture included (like lasso gesture).
I can't seem to figure out how to import this MSDN function into QM. Any suggestions?
Thanks, S

http://msdn.microsoft.com/en-us/library/aa932973.aspx
Quote:GetMouseMovePoints
Windows Mobile 6.5 This topic has not yet been rated - Rate this topic A version of this page is also available for
Windows Embedded CE 6.0 R3
4/8/2010

This function retrieves points, associated with WM_LBUTTONDOWN and WM_MOUSEMOVE messages, that the OS typically discards when an application cannot process these messages as fast as the application receives these messages.

Syntax
--------------------------------------------------------------------------------
Copy

BOOL WINAPI GetMouseMovePoints(
PPOINT pptBuf,
UINT nBufPoints,
UINT* pnPointsRetrieved
);
Parameters
--------------------------------------------------------------------------------
pptBuf
[out] Pointer to an array of POINT structures. This buffer contains the points retrieved from the current mouse move.

nBufPoints
[in] Unsigned integer that specifies the size, in points, of the buffer passed in the pptBuf parameter.

pnPointsRetrieved
[out] Pointer to an unsigned integer. This parameter contains the number of points actually retrieved into the pptBuf buffer.

Return Value
--------------------------------------------------------------------------------
TRUE indicates success. FALSE indicates failure. To get extended error information, call GetLastError.

Remarks
--------------------------------------------------------------------------------
This function allows an application to track mouse or stylus input at a somewhat higher resolution than the resolution of the display screen. This behavior improves inking performance. This function does not draw the ink, but just allows you to collect the points more easily so that another function can draw the ink.

This function is not supported for emulation.

Requirements


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)