Click here to Skip to main content
16,016,738 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Convert LPRECT to Crect Pin
Cedric Moonen8-Jul-09 2:51
Cedric Moonen8-Jul-09 2:51 
GeneralRe: Convert LPRECT to Crect Pin
kumar sanghvi8-Jul-09 3:04
kumar sanghvi8-Jul-09 3:04 
AnswerRe: Convert LPRECT to Crect Pin
Adam Roderick J8-Jul-09 2:52
Adam Roderick J8-Jul-09 2:52 
QuestionRe: Convert LPRECT to Crect Pin
CPallini8-Jul-09 3:16
mveCPallini8-Jul-09 3:16 
AnswerRe: Convert LPRECT to Crect Pin
CPallini8-Jul-09 3:18
mveCPallini8-Jul-09 3:18 
QuestionTextWidth Pin
kumar sanghvi8-Jul-09 0:56
kumar sanghvi8-Jul-09 0:56 
AnswerRe: TextWidth Pin
Rajesh R Subramanian8-Jul-09 0:58
professionalRajesh R Subramanian8-Jul-09 0:58 
AnswerRe: TextWidth Pin
David Crow8-Jul-09 2:36
David Crow8-Jul-09 2:36 
kumar sanghvi wrote:
May i know how can i get the width of the text inside the button control..


Use GetWindowText() to get the button's text, and then call GetTextExtent() (or related function) to get its width and heighth.

"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons


Questionhow to shut down the PC programatically. Pin
saksp8-Jul-09 0:44
saksp8-Jul-09 0:44 
AnswerRe: how to shut down the PC programatically. Pin
Madhu Nair8-Jul-09 0:50
Madhu Nair8-Jul-09 0:50 
GeneralRe: how to shut down the PC programatically. Pin
«_Superman_»8-Jul-09 0:51
professional«_Superman_»8-Jul-09 0:51 
JokeRe: how to shut down the PC programatically. Pin
Madhu Nair8-Jul-09 0:55
Madhu Nair8-Jul-09 0:55 
GeneralRe: how to shut down the PC programatically. Pin
saksp8-Jul-09 1:34
saksp8-Jul-09 1:34 
AnswerRe: how to shut down the PC programatically. Pin
Madhu Nair8-Jul-09 2:00
Madhu Nair8-Jul-09 2:00 
AnswerRe: how to shut down the PC programatically. Pin
«_Superman_»8-Jul-09 0:50
professional«_Superman_»8-Jul-09 0:50 
QuestionIWebBrowser2 problem Pin
YaronNir8-Jul-09 0:41
YaronNir8-Jul-09 0:41 
AnswerRe: IWebBrowser2 problem Pin
Madhu Nair8-Jul-09 0:45
Madhu Nair8-Jul-09 0:45 
GeneralRe: IWebBrowser2 problem Pin
YaronNir8-Jul-09 0:53
YaronNir8-Jul-09 0:53 
GeneralRe: IWebBrowser2 problem Pin
YaronNir8-Jul-09 1:58
YaronNir8-Jul-09 1:58 
QuestionString manipulation. Pin
Comp_Users8-Jul-09 0:32
Comp_Users8-Jul-09 0:32 
AnswerRe: String manipulation. Pin
«_Superman_»8-Jul-09 0:49
professional«_Superman_»8-Jul-09 0:49 
GeneralRe: String manipulation. Pin
Comp_Users8-Jul-09 1:14
Comp_Users8-Jul-09 1:14 
GeneralRe: String manipulation. Pin
Stuart Dootson8-Jul-09 1:14
professionalStuart Dootson8-Jul-09 1:14 
AnswerRe: String manipulation. Pin
Stuart Dootson8-Jul-09 1:10
professionalStuart Dootson8-Jul-09 1:10 
QuestionCHtmlEditCtrl problem :( Pin
bosfan8-Jul-09 0:10
bosfan8-Jul-09 0:10 

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.