Page 1 of 1

size of a resource

Posted: Mon Aug 24, 2015 1:57 pm
by fp
How can I read the size and the font from an existing dialog-resource in a RES or DLL file?

Re: size of a resource

Posted: Tue Aug 25, 2015 7:21 am
by Antonio Linares
Frank,

Try this:

DEFINE DIALOG oDlg RESOURCE ...

ACTIVATE DIALOG oDlg ON INIT ( MsgInfo( oDlg:oFont:cFaceName, oDlg:oFont:nSize ), oDlg:End() )

Re: size of a resource

Posted: Tue Aug 25, 2015 10:18 pm
by James Bott
Antonio,

Its always good to think outside the box! I like it.

James