size of a resource

size of a resource

Postby fp » Mon Aug 24, 2015 1:57 pm

How can I read the size and the font from an existing dialog-resource in a RES or DLL file?
Frank-Peter
User avatar
fp
 
Posts: 76
Joined: Fri Dec 30, 2005 10:25 am
Location: Germany

Re: size of a resource

Postby Antonio Linares » Tue Aug 25, 2015 7:21 am

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
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: size of a resource

Postby James Bott » Tue Aug 25, 2015 10:18 pm

Antonio,

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

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 56 guests

cron