Author Topic: scrolling fields  (Read 2323 times)

shankle

  • Member
  • ****
  • Posts: 847
scrolling fields
« on: April 05, 2013, 03:35:09 AM »
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

  • Member
  • *****
  • Posts: 1473
  • The base type of a type is the type itself
    • SmplMath macros
Re: scrolling fields
« Reply #1 on: April 05, 2013, 09:36:28 AM »
Quote from: msdn
typedef 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!