Wednesday, June 17, 2009

Scale class

I found some time to work on the proyect again and I decided to add the Scale class. The main new challenge was to include control data.
In order to do it I wrote a new WinCreateWindow implementation that took the SLDCDATA structure as parameter. I overwrote the constructor of the class using this call instead of using the Control call.
The rest was fairly easy. The only issue was that the result of painting the scale on diffrent systems gives different looks. I have to find out how to make it consistent.