Equivalent CHAR

BlitzMax Forums/BlitzMax Beginners Area/Equivalent CHAR

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

hmm, nope, that doesn't seem to work either.

What I'm wrapping is the Win32 API ChooseFont() which includes a CHOOSEFONT struct and a LOGFONT stuct. Everything works apart from the .lfFaceName. Unless, I use the last method in my original post (and then shaft the memory in the process).

You should be able to pass a face name to the ChooseFont() function via the CHOOSEFONT struct, but, BMax don't like it and the API don't like BMax.

Been driving me nuts for the last couple of days now (on and off).