IonicWind Software

IWBasic => General Questions => Topic started by: Andy on October 10, 2018, 07:20:18 AM

Title: Constants values
Post by: Andy on October 10, 2018, 07:20:18 AM
Nearly ready to release the new constants search program but I was just wondering if I had this:

WS_WIDGET who's value was WM_USER + 200 (where WM_USER is say 400 Hex), what is the "Widgets" value?

Are we adding 200 hex to 400 hex, so the value is 600 hex?

Thanks,
Andy.
Title: Re: Constants values
Post by: LarryMc on October 10, 2018, 08:38:10 AM
you're adding 200 decimal to 400 hex
Title: Re: Constants values
Post by: Andy on October 10, 2018, 09:33:43 AM
Thanks Larry,

So the answer would be 200 (decimal or C8 - hex) + 400 (hex) = 4C8 (hex).

Thanks for that.

Andy.
Title: Re: Constants values
Post by: billhsln on October 10, 2018, 10:08:30 AM
Just in case, here is a HEX Calculator site:

https://www.calculator.net/hex-calculator.html

Bill
Title: Re: Constants values
Post by: Andy on October 10, 2018, 12:52:43 PM
Thanks Bill,

Will check it out.

:)