PDA

View Full Version : creating a font popup button




swimlikehell
Oct 9, 2006, 02:16 PM
I am trying to create popup button the displays the available fonts on the system in a nib window. If anyone could shed some light on how i might could go about doing this it would be very helpful. Also in the same nib i want to create some text to display on the nib in the code is their anyway that i can do that like create an empty static text field and insert the text their. The i deal thing i am looking for would be to be able to creat the window directly from the code with out the use of a nibif you could help on either it would be very appreciated. thanks



kainjow
Oct 9, 2006, 04:26 PM
Assuming you're using Objective-C, look into the documentation for NSFontManager.

swimlikehell
Oct 9, 2006, 04:45 PM
i am using carbon c++