Set FontRequester style

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Set FontRequester style

Post by Joakim Christiansen »

I also want to be able to set the style (so it can remember the previous one):
FontRequester(FontName$, FontSize, Flags [, Color] [, Style])
I like logic, hence I dislike humans but love computers.
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

Bump...

Haha!
But when you can get the SelectedFontStyle() you should also be able to set it in the requester! Anyone agree?
I like logic, hence I dislike humans but love computers.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Set FontRequester style

Post by PB »

The font requester just calls the Windows requster (as far as I know), so
unless the Windows one does it, the PureBasic command won't be able to
support it.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

Damn, now I have to search through the whole MSDN library to find that function... I think the purebasic helpfile should have the API links to the functions in it since you every time has to use API anyway...

And if the windows ones doesn't do it then windows must be pretty retarded and then I cant understand why everybody else can do it in their programs...

EDIT:
Finally:
http://msdn2.microsoft.com/en-us/library/ms646958.aspx
I like logic, hence I dislike humans but love computers.
Post Reply