Mailing List
Home
Forum Home
MUD Dev - Discussion of MUD system design, development, and implementation
Mac Game - Mac game development
Rivers of MUD - a Diku and Merc based multiuser dungeon
SMAUG
Subjects
Getting UDP through NAT/firewalls/whatever for a game
Getting UDP through NAT/firewalls/whatever for a game
QuickTime errors
Python script as stand alone MUD server
Various sound problems
Fragment Shaders & GL TEXTURE RECTANGLE EXT
Timers and global variables
Re: Language and platform for Text MUD server
Apparent acquisition of Yantis (mysupersales) by IDE
HID keyboard
Getting UDP through NAT/firewalls/whatever for a game
Microsoft Sparkle
Director MX
Congratulations Horizons
Yet more problems fullscreen mode
Apple Dev Kitchen Them 's tasty vittles, Maw!
NSOpenGLContext, Pbuffers, and drawables
More DCR "theft " naughtiness
dynamic sprite creation and imaging lingo
Re: Find stuff in Flash array?
Effects of skill imbalances?
QuickTime errors
Rom 2 4/Quickmud Enhancement/Bug fix
Working with XML files/CFURL
smooth scrolling/subpixel tweening
RE: (Ron help me?) Flash text
Flash Racing
MudDev FAQ 2
Browser based games
Installing GLUT
Special character in Flash XML
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Determining max text rectangle required and setting Static text
control

Determining max text rectangle required and setting Static text
control

2003-12-17       - By Ronald Fenner

 Back
Ok some of this may belong on one of the carbon lists but since it's
for a game here goes ;)

I've got a generic message box for my game that i wish to change the
text in.
Currently it using SetControlData to set the text of a static control
that is the message.
I'd like to change so i can change the Static text control using a
CFString since I'm striving for a mulitlingual game.

My question is how does one set the static text with a CFString, would
SetControlTitleWithCFString work on a static text for the text it
displays.

Also I'd like to have so that the window will adjust to display all the
text if it's provided with a lot of text. Should i consider using the
aforementioned DrawThemeTextBox or TXNDrawCFStringTextBox and use a
place holder item in the widow that i can fetch a rectangle from for
use instead of using a Static text control.


Ron
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
mac-games-dev mailing list | mac-games-dev@(protected)
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/mac
-games-dev
Do not post admin requests to the list. They will be ignored.

Earn $52 per hosting referral at Lunarpages.