There is
lfHeight = -MulDiv(PointSize, GetDeviceCaps(hDC, LOGPIXELSY), 72);
How do I make it work with Purebasic? I want to get the font size.

Code: Select all
lfHeight = Round(- PointSize * 72 / GetDeviceCaps_(hDC, #LOGPIXELSY), 1)
It's gnozal ...Fluid Byte wrote:You don't get it gonzal, do you? Why the heck you think no one answered this?
this is not the fine way, so when being here to delete the following posts,You don't get it gonzal, do you? Why the heck you think no one answered this? Because he's being very suspicious and it seems he's also usung two accounts. In fact I already posted the answer yesterday but removed it again since I don't feel like to make a script kiddie happy anymore. So don't just serve him everything he wants on a silver tablet.
Fluid Byte wrote:... No need to cry for Rings because you think you have been treaded unfair.