Convert string to font
-
Hi! could anyone tell me how to convert a string(that is a font) that I saved to to reg using savesetting(..) to font object using getsetting(..) so I can assign it back a textbox. summary: convert string back to font thanx in advance.:cool:
Well, what is the value of the string ? Does it specify font name, size, weight, etc ?
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
Hi! could anyone tell me how to convert a string(that is a font) that I saved to to reg using savesetting(..) to font object using getsetting(..) so I can assign it back a textbox. summary: convert string back to font thanx in advance.:cool:
Hi there, The best is to save each setting of the font into its own registry entry, or save the settings of the font in delimited format into one registry entry and reverse it into a new font value that you can apply to the textbox. Regards, Werries
A programmer's life is good... or is it?? Ek dink nie so nie!
-
Hi there, The best is to save each setting of the font into its own registry entry, or save the settings of the font in delimited format into one registry entry and reverse it into a new font value that you can apply to the textbox. Regards, Werries
A programmer's life is good... or is it?? Ek dink nie so nie!