December 07, 2019, 10:14:00 pm

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Constants values

Started by Andy, October 10, 2018, 07:20:18 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andy

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.
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.

LarryMc

you're adding 200 decimal to 400 hex
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Andy

Thanks Larry,

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

Thanks for that.

Andy.
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.

billhsln

When all else fails, get a bigger hammer.

Andy

Thanks Bill,

Will check it out.

:)
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.