For the documentation for CreateWindow it says the width/height are specified in "device units" but I'd like to specify this in pixels. How can I do this?
When I set both of their heights to 540, the list-box appears shorter for some reason.
By design. Use the LBS_NOINTEGRALHEIGHT style flag if you want the listbox the have the exact programmed height.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With