Click here to Skip to main content
15,891,607 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to change text of the menu item? Pin
Nishad S3-Nov-08 0:59
Nishad S3-Nov-08 0:59 
GeneralRe: How to change text of the menu item? Pin
manish.patel3-Nov-08 1:16
manish.patel3-Nov-08 1:16 
GeneralRe: How to change text of the menu item? Pin
Nishad S3-Nov-08 1:25
Nishad S3-Nov-08 1:25 
GeneralRe: How to change text of the menu item? Pin
manish.patel3-Nov-08 1:46
manish.patel3-Nov-08 1:46 
GeneralRe: How to change text of the menu item? Pin
Nishad S3-Nov-08 2:07
Nishad S3-Nov-08 2:07 
AnswerRe: How to change text of the menu item? Pin
Maximilien3-Nov-08 3:05
Maximilien3-Nov-08 3:05 
GeneralRe: How to change text of the menu item? Pin
Mike Gaskey19-Aug-12 5:29
Mike Gaskey19-Aug-12 5:29 
Questionvoid function Pin
susanne13-Nov-08 0:25
susanne13-Nov-08 0:25 
hi to all,
need to pass a string to a void function that does not have a parameter, looks like that:

int CMyString::GetLength (void)const
{

}

in the main function, the code is follow

CMyString string1;
string1 = "Hello world!";
int nLen = string1.GetLength();// should give nLen = 11.

The class CMyString should work like the class String in this case.
Do not k now how to implement the function GetLength().
Any help will be appriciated. Thanks.
AnswerRe: void function Pin
Maximilien3-Nov-08 0:34
Maximilien3-Nov-08 0:34 
AnswerRe: void function Pin
CPallini3-Nov-08 0:55
mveCPallini3-Nov-08 0:55 
QuestionRe: void function Pin
David Crow3-Nov-08 3:21
David Crow3-Nov-08 3:21 
AnswerRe: void function Pin
CPallini3-Nov-08 3:33
mveCPallini3-Nov-08 3:33 
QuestionCheck for file existence, and distinguish files from folders Pin
Erik3-Nov-08 0:00
Erik3-Nov-08 0:00 
AnswerRe: Check for file existence, and distinguish files from folders Pin
Rajesh R Subramanian3-Nov-08 0:13
professionalRajesh R Subramanian3-Nov-08 0:13 
AnswerRe: Check for file existence, and distinguish files from folders Pin
David Crow3-Nov-08 3:22
David Crow3-Nov-08 3:22 
QuestionNotepad creation in dialog based MFC Application Pin
AnithaSubramani2-Nov-08 23:07
AnithaSubramani2-Nov-08 23:07 
AnswerRe: Notepad creation in dialog based MFC Application Pin
SandipG 2-Nov-08 23:14
SandipG 2-Nov-08 23:14 
GeneralRe: Notepad creation in dialog based MFC Application Pin
AnithaSubramani2-Nov-08 23:19
AnithaSubramani2-Nov-08 23:19 
GeneralRe: Notepad creation in dialog based MFC Application Pin
SandipG 2-Nov-08 23:24
SandipG 2-Nov-08 23:24 
GeneralRe: Notepad creation in dialog based MFC Application Pin
Russell'2-Nov-08 23:39
Russell'2-Nov-08 23:39 
GeneralRe: Notepad creation in dialog based MFC Application Pin
David Crow3-Nov-08 3:24
David Crow3-Nov-08 3:24 
GeneralRe: Notepad creation in dialog based MFC Application Pin
Mark Salsbery3-Nov-08 5:10
Mark Salsbery3-Nov-08 5:10 
QuestionON_CONTROL_REFLECT_EX and message to control and parent Pin
Russell'2-Nov-08 22:34
Russell'2-Nov-08 22:34 
AnswerRe: ON_CONTROL_REFLECT_EX and message to control and parent Pin
Nishad S2-Nov-08 23:03
Nishad S2-Nov-08 23:03 
GeneralRe: ON_CONTROL_REFLECT_EX and message to control and parent Pin
Russell'2-Nov-08 23:23
Russell'2-Nov-08 23:23 

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.