I know but you aren't really looking at problem. The fonts in the cells are true type proportional not old school fixed pixel fonts so unless you have display formats on them you are dead out luck they wont be fixed character widths.
So the best you can probably do is the pixel width and then divid it by some number so if the font sort of averages 10 pixels width the 100 pixel column = 100/10 = 10 characters and 150 pixel width column gives you 15 characters.
You aren't going to be able to do much better than that at at least it will be somewhat columnized
I want to understand what the LoadImage function does with a file, cuts off the header ? How does it convert data?
I find the image in the resources of the file, it does not lie in the open as a picture. I read in buffer specifically the place where image of the is.
I am trying to convert some code from Linux to Windows. So, I've met two warnings at one single line of code:
const le64(0x022B4AAC34546A39ULL), // <-- warning C4341: 'SOME_LINK' : signed value is out of range for enum constant// <-- warning C4309: 'initializing' : truncation of constant value
of course, I can disable this warning, but I want to do things right how can I get rid of this warning by a correction ? It is possible ?