size of a resource
size of a resource
How can I read the size and the font from an existing dialog-resource in a RES or DLL file?
Frank-Peter
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: size of a resource
Frank,
Try this:
DEFINE DIALOG oDlg RESOURCE ...
ACTIVATE DIALOG oDlg ON INIT ( MsgInfo( oDlg:oFont:cFaceName, oDlg:oFont:nSize ), oDlg:End() )
Try this:
DEFINE DIALOG oDlg RESOURCE ...
ACTIVATE DIALOG oDlg ON INIT ( MsgInfo( oDlg:oFont:cFaceName, oDlg:oFont:nSize ), oDlg:End() )
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: size of a resource
Antonio,
Its always good to think outside the box! I like it.
James
Its always good to think outside the box! I like it.
James