Click here to Skip to main content
15,894,539 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: TrimRight() and TrimLeft() for unicode characters. Pin
Emilio Garavaglia30-Jul-09 1:42
Emilio Garavaglia30-Jul-09 1:42 
QuestionFont Pin
kumar sanghvi29-Jul-09 3:28
kumar sanghvi29-Jul-09 3:28 
QuestionRe: Font Pin
David Crow29-Jul-09 3:55
David Crow29-Jul-09 3:55 
AnswerRe: Font Pin
CPallini29-Jul-09 3:57
mveCPallini29-Jul-09 3:57 
GeneralRe: Font Pin
kumar sanghvi29-Jul-09 4:05
kumar sanghvi29-Jul-09 4:05 
GeneralRe: Font Pin
CPallini29-Jul-09 4:32
mveCPallini29-Jul-09 4:32 
GeneralRe: Font Pin
kumar sanghvi29-Jul-09 18:42
kumar sanghvi29-Jul-09 18:42 
GeneralRe: Font Pin
CPallini29-Jul-09 22:33
mveCPallini29-Jul-09 22:33 
Well, suppose the text width is 120 pixels and the height is 20 pixels, then, a rectangle with a fixed, 5 pixels, border would have width = 120 + 2*5 = 130 pixels and height 20+2*5 = 30 pixels.

If you prefer a proportional border, say 5%, you may set width = 120*(100+5*2)/100 = 132 pixels and height = 20*(100+5*2) = 22 pixels.
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

QuestionResizing animations/images Pin
m_1729-Jul-09 2:44
m_1729-Jul-09 2:44 
AnswerRe: Resizing animations/images Pin
Maximilien29-Jul-09 2:57
Maximilien29-Jul-09 2:57 
GeneralRe: Resizing animations/images Pin
m_1729-Jul-09 3:12
m_1729-Jul-09 3:12 
AnswerRe: Resizing animations/images [modified] Pin
Adam Roderick J29-Jul-09 3:11
Adam Roderick J29-Jul-09 3:11 
GeneralRe: Resizing animations/images Pin
m_1729-Jul-09 18:50
m_1729-Jul-09 18:50 
QuestionHow do I get the correct font height in Hindi fonts? Pin
Gywox29-Jul-09 2:11
Gywox29-Jul-09 2:11 
AnswerRe: How do I get the correct font height in Hindi fonts? [modified] Pin
Adam Roderick J29-Jul-09 2:27
Adam Roderick J29-Jul-09 2:27 
AnswerRe: How do I get the correct font height in Hindi fonts? Pin
Iain Clarke, Warrior Programmer29-Jul-09 2:54
Iain Clarke, Warrior Programmer29-Jul-09 2:54 
GeneralRe: How do I get the correct font height in Hindi fonts? Pin
Adam Roderick J29-Jul-09 3:03
Adam Roderick J29-Jul-09 3:03 
GeneralRe: How do I get the correct font height in Hindi fonts? Pin
Gywox29-Jul-09 4:42
Gywox29-Jul-09 4:42 
QuestionHow to GetHandle of Windows from Resource ID in ATL COM Pin
am 200929-Jul-09 1:43
am 200929-Jul-09 1:43 
AnswerRe: How to GetHandle of Windows from Resource ID in ATL COM Pin
Adam Roderick J29-Jul-09 1:55
Adam Roderick J29-Jul-09 1:55 
AnswerRe: How to GetHandle of Windows from Resource ID in ATL COM Pin
Iain Clarke, Warrior Programmer29-Jul-09 2:55
Iain Clarke, Warrior Programmer29-Jul-09 2:55 
QuestionHow to control other non-focus application? Pin
audi0229-Jul-09 1:12
audi0229-Jul-09 1:12 
AnswerRe: How to control other non-focus application? Pin
Adam Roderick J29-Jul-09 1:41
Adam Roderick J29-Jul-09 1:41 
GeneralRe: How to control other non-focus application? Pin
audi0229-Jul-09 9:59
audi0229-Jul-09 9:59 
QuestionRe: How to control other non-focus application? Pin
audi023-Aug-09 22:49
audi023-Aug-09 22:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.