get a button font api
- by user545142
hi
first sorry for my English
i try to get a word under mouse
now my problem how to get the font of button
i try to use
IntPtr dc= GetDC(button1.Handle);
IntPtr last_font = SelectObject(dc, Font.ToHfont());
Font fon = Font.FromHdc(dc);
but it gave me the font of the form
and some time gave me error
Only TrueType fonts are supported. This is not a TrueType font
any body help me