PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: UpDown control  (Read 269 times)

philbar

  • Little Newbie
  • *
  • Posts: 18
UpDown control
« on: July 08, 2020, 02:23:23 PM »

I just noticed something.

In the function updown_getrange32(), the high and low limits are declared as WORD PTR, whereas in updown_setrange32(), the corresponding parameters are LONG. Doesn't seem right.
Logged

Josť Roca

  • Moderator
  • Guru Member
  • *****
  • Posts: 3282
Re: UpDown control
« Reply #1 on: July 08, 2020, 06:27:11 PM »

You're right. It should be LONG PTR. I have modified AfxCtl.inc.
Thanks very much for reporting it.