Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Store Font in the registry

Status
Not open for further replies.

bajdev

Programmer
Aug 15, 2005
13
0
0
US
Hey Guys,

I messed with this the other night, but ran out of time before I resolved it.

Does anyone have any advice on storing a user's font setting in the registry? I kept getting casting issues when I'd try to read it out. I'll check my code when I get home and post some code examples of what I was trying if necessary.

I'm sure it's not to hard, but I thought I'd see if anyone had any examples before I looked at it in the next day or two.

Thanks in advance,
bajdev
 
The easiest way would be to just store 3 separate strings--1 for font name, 1 for size, 1 for bold/italic/underline/normal.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top