size of a resource

Post Reply
User avatar
fp
Posts: 76
Joined: Fri Dec 30, 2005 10:25 am
Location: Germany

size of a resource

Post by fp »

How can I read the size and the font from an existing dialog-resource in a RES or DLL file?
Frank-Peter
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: size of a resource

Post by Antonio Linares »

Frank,

Try this:

DEFINE DIALOG oDlg RESOURCE ...

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

Antonio Linares
www.fivetechsoft.com
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Re: size of a resource

Post by James Bott »

Antonio,

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

James
Post Reply