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

C / C++ / MFC

 
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 
AnswerRe: void function Pin
Maximilien3-Nov-08 0:34
Maximilien3-Nov-08 0:34 
you don't know how to create a method in your own class ?

the class CMyString should hold a member variable that holds the buffer of some sort of the string.

just create a method that just do a strlen (if the buffer is a char* ) on the member variable.

something like :
class CMyString
{
//... some other stuff
char* m_internalBuffer;

int GetLength(){ return strlen(m_internalBuffer);};
}



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 
GeneralRe: ON_CONTROL_REFLECT_EX and message to control and parent Pin
Nishad S2-Nov-08 23:29
Nishad S2-Nov-08 23:29 

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.