Guest Jonathan Wood Posted July 17, 2007 Posted July 17, 2007 I noticed that all documentation for the SCROLLINFO structure (used with SetScrollInfo) just uses int or UINT for structure members as opposed to INT_PTR. Does this mean 64-bit Windows does not support 64-bit scroll values? I have an application where the scroll range and position could exceed 32 bits. Has anyone already worked out the algorithm to make this work on Win32? Thanks. -- Jonathan Wood SoftCircuits Programming http://www.softcircuits.com
Guest Tony Sperling Posted July 17, 2007 Posted July 17, 2007 Re: 64-Bit Scrolling Ahhh, I'm rusty, but on a 64bit system isn't the INT 64bit wide? Also, this 'group' is mostly a GUI (General User Issues) forum, you might search out a developer hangout. Tony. . . "Jonathan Wood" <jwood@softcircuits.com> wrote in message news:enW$JsJyHHA.4392@TK2MSFTNGP04.phx.gbl... > I noticed that all documentation for the SCROLLINFO structure (used with > SetScrollInfo) just uses int or UINT for structure members as opposed to > INT_PTR. > > Does this mean 64-bit Windows does not support 64-bit scroll values? > > I have an application where the scroll range and position could exceed 32 > bits. Has anyone already worked out the algorithm to make this work on > Win32? > > Thanks. > > -- > Jonathan Wood > SoftCircuits Programming > http://www.softcircuits.com >
Guest Jonathan Wood Posted July 17, 2007 Posted July 17, 2007 Re: 64-Bit Scrolling No, I believe int will continue to be 32-bits. At least, why would MS come up with all the INT_PTR, DWORD_PTR, etc. types? -- Jonathan Wood SoftCircuits Programming http://www.softcircuits.com "Tony Sperling" <tony.sperling@dbREMOVEmail.dk> wrote in message news:uqGAmTKyHHA.1204@TK2MSFTNGP03.phx.gbl... > Ahhh, I'm rusty, but on a 64bit system isn't the INT 64bit wide? > > Also, this 'group' is mostly a GUI (General User Issues) forum, you might > search out a developer hangout. > > > Tony. . . > > > "Jonathan Wood" <jwood@softcircuits.com> wrote in message > news:enW$JsJyHHA.4392@TK2MSFTNGP04.phx.gbl... >> I noticed that all documentation for the SCROLLINFO structure (used with >> SetScrollInfo) just uses int or UINT for structure members as opposed to >> INT_PTR. >> >> Does this mean 64-bit Windows does not support 64-bit scroll values? >> >> I have an application where the scroll range and position could exceed 32 >> bits. Has anyone already worked out the algorithm to make this work on >> Win32? >> >> Thanks. >> >> -- >> Jonathan Wood >> SoftCircuits Programming >> http://www.softcircuits.com >> > >
Recommended Posts