The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: bomz on June 26, 2011, 08:04:06 PM

Title: DragObject
Post by: bomz on June 26, 2011, 08:04:06 PM
QuoteDragDetect Function

Syntax

BOOL WINAPI DragDetect(
  __in  HWND hwnd,
  __in  POINT pt
);
http://msdn.microsoft.com/en-us/library/ms646256%28v=vs.85%29.aspx
USER32.INC
(http://xmages.net/storage/10/1/0/4/7/upload/6055a455.png)

del one DWORD? this may destroy stack?
Title: Re: DragObject
Post by: qWord on June 26, 2011, 08:10:32 PM
see the definition for the POINT struct - it OK.
Title: Re: DragObject
Post by: bomz on June 26, 2011, 08:42:59 PM
thanks

invoke DragObject, hWnd, pt.x, pt.y