Click here to Skip to main content
15,876,639 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Unzip.exe Pin
David Crow17-Jul-06 2:50
David Crow17-Jul-06 2:50 
QuestionGlobal hooks Pin
Vissu8916-Jul-06 23:24
Vissu8916-Jul-06 23:24 
AnswerRe: Global hooks Pin
Naveen17-Jul-06 0:31
Naveen17-Jul-06 0:31 
GeneralRe: Global hooks Pin
Vissu8917-Jul-06 7:32
Vissu8917-Jul-06 7:32 
Questionedit box width Pin
Ram Murali16-Jul-06 23:17
Ram Murali16-Jul-06 23:17 
AnswerRe: edit box width Pin
see me16-Jul-06 23:32
see me16-Jul-06 23:32 
AnswerRe: edit box width Pin
Parthi_Appu16-Jul-06 23:42
Parthi_Appu16-Jul-06 23:42 
AnswerRe: edit box width Pin
Naveen17-Jul-06 0:38
Naveen17-Jul-06 0:38 
Ram Murali wrote:
So i would like to set the width of an edit box which exactly holds 5


to calculate the rectangle required for a string to fit,use DrawText funtion with the DT_CALCRECT flag. this function will return the rectangle required by the string(Before calling this funtion don't forget to select the current edit box font to the DC). After u got the rectangle call the MoveWindow function to size the edit box.

nave
QuestionRelated to edit boxes Pin
Taruni16-Jul-06 22:41
Taruni16-Jul-06 22:41 
AnswerRe: Related to edit boxes Pin
Abhi Lahare16-Jul-06 22:55
Abhi Lahare16-Jul-06 22:55 
AnswerRe: Related to edit boxes Pin
see me16-Jul-06 22:56
see me16-Jul-06 22:56 
AnswerRe: Related to edit boxes Pin
Hamid_RT16-Jul-06 22:56
Hamid_RT16-Jul-06 22:56 
AnswerRe: Related to edit boxes Pin
*Dreamz16-Jul-06 23:10
*Dreamz16-Jul-06 23:10 
GeneralRe: Related to edit boxes Pin
see me16-Jul-06 23:04
see me16-Jul-06 23:04 
AnswerRe: Related to edit boxes Pin
_AnsHUMAN_ 16-Jul-06 23:17
_AnsHUMAN_ 16-Jul-06 23:17 
AnswerRe: Related to edit boxes Pin
David Crow17-Jul-06 2:57
David Crow17-Jul-06 2:57 
QuestionHow do I count CPU cores? Pin
khb16-Jul-06 22:11
khb16-Jul-06 22:11 
AnswerRe: How do I count CPU cores? Pin
David Crow17-Jul-06 2:59
David Crow17-Jul-06 2:59 
QuestionRe: How do I count CPU cores? Pin
khb17-Jul-06 23:00
khb17-Jul-06 23:00 
QuestionRe: How do I count CPU cores? Pin
David Crow18-Jul-06 2:33
David Crow18-Jul-06 2:33 
GeneralRe: How do I count CPU cores? Pin
khb18-Jul-06 6:01
khb18-Jul-06 6:01 
GeneralRe: How do I count CPU cores? Pin
David Crow18-Jul-06 6:50
David Crow18-Jul-06 6:50 
GeneralRe: How do I count CPU cores? Pin
khb18-Jul-06 8:19
khb18-Jul-06 8:19 
GeneralRe: How do I count CPU cores? Pin
David Crow18-Jul-06 8:20
David Crow18-Jul-06 8:20 
QuestionRe: How do I count CPU cores? Pin
khb18-Jul-06 21:09
khb18-Jul-06 21:09 

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.