Hi, this should be pretty easy and I'm surprised I can't find it anywhere on the net.
In my program, the user can choose the default charformat for a richeditctrl. I want to save (and retrieve) that CHARFORMAT structure to the registry so the users choice remains persistent between sessions. I'm assuming I can save the most important elements and then reconstruct it on the other side. But all the conversions, and "dwMask", ect. has me a bit confused. Can someone show me how to do this? Thank you.