Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » How do I get parameters for GetTextSize ( Get parameters for GetTextSize)
Re: How do I get parameters for GetTextSize [message #43316 is a reply to message #43295] Sun, 29 June 2014 14:09 Go to previous messageGo to previous message
awksed is currently offline  awksed
Messages: 61
Registered: April 2012
Member
Hi BioBytes,

Thank you for your reply.

Sorry if my question was a little fuzzy.

What I really wanted to know is how do I obtain the actual font used in the DropList in question. (I assume this can be set to a different font from the standard font).

My code for the present is:

void MyDialog::MyFunction()
{
Font font = GetStdFont();
}

Presumably as this is called from the dialog it will not return the font used in the DropList if this has been changed. (DropList::GetStdFont() does not exist).

Regards,

awksed
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to position dialog in relation to parent window
Next Topic: Display of long text
Goto Forum:
  


Current Time: Fri May 10 16:13:32 CEST 2024

Total time taken to generate the page: 0.02582 seconds