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.

:)