News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

scrolling fields

Started by shankle, April 05, 2013, 03:35:09 AM

Previous topic - Next topic

shankle

Thanks for any help.
How are the scrolling fields referenced in a 64-bit program?
With 32 or 64 bit registers?
Guess it boils down to are these fields 32 bit or 64 bit.

scr.nMax, scr.cbsize, scr.fMask, scr.nMin, scr.nPage
scr.nPos, scr.nTrackPos

qWord

Quote from: msdntypedef struct tagSCROLLINFO {
  UINT cbSize;
  UINT fMask;
  int  nMin;
  int  nMax;
  UINT nPage;
  int  nPos;
  int  nTrackPos;
} SCROLLINFO, *LPCSCROLLINFO;
UINT ==> DWORD ==> 32 bits
int ==> SDWORD ==> 32 Bits
MREAL macros - when you need floating point arithmetic while assembling!