U++ framework
Do not panic. Ask here before giving up.

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: 71
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: Sat Aug 01 09:29:29 GMT+2 2026

Total time taken to generate the page: 0.00753 seconds