Click here to Skip to main content
15,908,264 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMFC Radio Buttons issue Pin
Axonn Echysttas6-Oct-05 21:18
Axonn Echysttas6-Oct-05 21:18 
AnswerRe: MFC Radio Buttons issue Pin
Roger Stoltz6-Oct-05 21:37
Roger Stoltz6-Oct-05 21:37 
AnswerRe: MFC Radio Buttons issue Pin
Mircea Puiu6-Oct-05 21:41
Mircea Puiu6-Oct-05 21:41 
GeneralRe: MFC Radio Buttons issue Pin
Axonn Echysttas6-Oct-05 22:11
Axonn Echysttas6-Oct-05 22:11 
QuestionSetWindowLong throwing ERROR_ACCESS_DENIED Pin
Anonymous6-Oct-05 21:14
Anonymous6-Oct-05 21:14 
QuestionDialog box Static text Pin
karmendra_js6-Oct-05 20:44
karmendra_js6-Oct-05 20:44 
AnswerRe: Dialog box Static text Pin
toxcct6-Oct-05 20:59
toxcct6-Oct-05 20:59 
AnswerRe: Dialog box Static text Pin
Cedric Moonen6-Oct-05 21:00
Cedric Moonen6-Oct-05 21:00 
What you can do is set the text of your static control whenever something changes in the EditBox. Here how to do that:

1) Go to class wizzard and add a handler function for the 'change text' message (I don't remember which message exactly.
2) In this handler function Retrieve the text of your EditBox (GetWindowText) and calculate his length (with strlen).
3) Format this value in a new string (with sprintf) and set the text of the static control (SetWindowText)
GeneralRe: Dialog box Static text Pin
ThatsAlok6-Oct-05 21:08
ThatsAlok6-Oct-05 21:08 
AnswerRe: Dialog box Static text Pin
ThatsAlok6-Oct-05 21:07
ThatsAlok6-Oct-05 21:07 
QuestionHelp needed on Activex Control Pin
_anil_6-Oct-05 20:35
_anil_6-Oct-05 20:35 
QuestionRotating a MetaFile Pin
ashwin206-Oct-05 20:01
ashwin206-Oct-05 20:01 
QuestionCreating a VxD Pin
Abraham.Varghese6-Oct-05 19:22
Abraham.Varghese6-Oct-05 19:22 
AnswerRe: Creating a VxD Pin
Gary R. Wheeler9-Oct-05 4:20
Gary R. Wheeler9-Oct-05 4:20 
QuestionSerialize Tree Info Pin
swarnamanoo6-Oct-05 19:10
swarnamanoo6-Oct-05 19:10 
AnswerRe: Serialize Tree Info Pin
Jose Lamas Rios6-Oct-05 19:19
Jose Lamas Rios6-Oct-05 19:19 
AnswerRe: Serialize Tree Info Pin
ThatsAlok6-Oct-05 19:54
ThatsAlok6-Oct-05 19:54 
GeneralRe: Serialize Tree Info Pin
swarnamanoo6-Oct-05 20:10
swarnamanoo6-Oct-05 20:10 
QuestionLog Scales Pin
Raza56806-Oct-05 18:51
Raza56806-Oct-05 18:51 
QuestionVisual Dev C++ Class Wizard Add Variable Script Error Pin
HaraldS6-Oct-05 18:07
HaraldS6-Oct-05 18:07 
QuestionInvalidateRect and GDI Pin
LighthouseJ6-Oct-05 18:01
LighthouseJ6-Oct-05 18:01 
AnswerRe: InvalidateRect and GDI Pin
ThatsAlok6-Oct-05 18:18
ThatsAlok6-Oct-05 18:18 
GeneralRe: InvalidateRect and GDI Pin
LighthouseJ6-Oct-05 18:56
LighthouseJ6-Oct-05 18:56 
GeneralRe: InvalidateRect and GDI Pin
Jose Lamas Rios6-Oct-05 19:02
Jose Lamas Rios6-Oct-05 19:02 
GeneralRe: InvalidateRect and GDI Pin
LighthouseJ6-Oct-05 19:37
LighthouseJ6-Oct-05 19:37 

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.