  | |  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.
|
|
 |