I got it working.  I had a bug somewhere else causing a null pointer...

Thanks.

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Ehsan Akhgari
> Sent: 29 March 2005 18:53
> To: [email protected]
> Subject: Re: [msvc] Logfont and registry
> 
> 
> Truckle, Andrew J wrote:
> > Can't work out how to read it back. Shows nothing :(
> > 
> >     UINT uSize = sizeof(LOGFONT);
> >     theApp.GetProfileBinary( _T("ExportSettings"),
> >                                                     _T("TitleFont"),
> >     
> > (LPBYTE*)&(sSettings.lfTitleFont),
> >                                                     &uSize );
> 
> You should be able to.  I'm wonderring why your two pieces of 
> code look 
> at different registry values?
> 
> Ehsan
> 
> 
> _______________________________________________
> msvc mailing list
> [email protected]
> See 
> http://beginthread.com/mailman/listinfo/msvc_beginthread.com 
> for subscription changes, and list archive.
> 
> 
> This message has been scanned for viruses by MailControl - 
> (see http://bluepages.wsatkins.co.uk/?4318150)
> 

This email and any attached files are confidential and copyright protected.
If you are not the addressee, any dissemination of this communication is
strictly prohibited. Unless otherwise expressly agreed in writing, nothing
stated in this communication shall be legally binding.

_______________________________________________
msvc mailing list
[email protected]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for 
subscription changes, and list archive.

Reply via email to