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: 42425
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 15 times
- Been thanked: 48 times
- 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: 4840
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact: