PDA

View Full Version : Menu design


irimiab
09-18-2003, 10:28 AM
Is there any way I can center the text in a menu control ?

Thnx

Dragon
09-18-2003, 04:00 PM
Use the ITextCtl object

irimiab
09-19-2003, 08:09 AM
How, exactly ? I need a menu, not a text-box... Do I have to use a text-box for each item in the menu ? If yes, isn't it a little too much trouble ?

Thnx again ! ;)

Dragon
09-19-2003, 10:44 AM
Sorry, my bad. I misread your initial post as how do I "Enter" instead of "Center."

Anand
09-20-2003, 12:42 AM
Hi,
As for as i know there is no direct APIs to centre the text in the menu control. But u can write your own customized menu, which takes the text centred.
What i am trying to tell here is, u can create a frame with the text over there and move the frame according to the selection..
It is bit tedious..... but u can try....