Click here to Skip to main content
15,923,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionxcopy custom build step Pin
Phil Francis4-May-06 13:46
Phil Francis4-May-06 13:46 
GeneralRe: xcopy custom build step Pin
George L. Jackson4-May-06 17:23
George L. Jackson4-May-06 17:23 
GeneralRe: xcopy custom build step Pin
Phil Francis4-May-06 20:44
Phil Francis4-May-06 20:44 
GeneralRe: xcopy custom build step Pin
George L. Jackson5-May-06 5:54
George L. Jackson5-May-06 5:54 
AnswerRe: WIN32 Pin
Gerald Schwab4-May-06 11:27
Gerald Schwab4-May-06 11:27 
QuestionHow to get char[] from CEdit control Pin
masnu4-May-06 10:51
masnu4-May-06 10:51 
AnswerRe: How to get char[] from CEdit control Pin
led mike4-May-06 11:23
led mike4-May-06 11:23 
AnswerRe: How to get char[] from CEdit control Pin
RChin4-May-06 11:26
RChin4-May-06 11:26 
AnswerRe: How to get char[] from CEdit control Pin
Amar Sutar4-May-06 18:53
Amar Sutar4-May-06 18:53 
QuestionCTreeCtrl derived class problem Pin
Neagoe Gabriel4-May-06 9:48
Neagoe Gabriel4-May-06 9:48 
QuestionOS in C++ Pin
BorolePrashant4-May-06 9:35
BorolePrashant4-May-06 9:35 
GeneralRe: OS in C++ Pin
Maxwell Chen4-May-06 19:22
Maxwell Chen4-May-06 19:22 
QuestionHow to implement a WM_COPY handler for a CEdit derived control Pin
madmax00014-May-06 9:10
madmax00014-May-06 9:10 
AnswerRe: How to implement a WM_COPY handler for a CEdit derived control Pin
David Crow4-May-06 9:12
David Crow4-May-06 9:12 
GeneralRe: How to implement a WM_COPY handler for a CEdit derived control Pin
madmax00014-May-06 9:34
madmax00014-May-06 9:34 
GeneralRe: How to implement a WM_COPY handler for a CEdit derived control Pin
David Crow4-May-06 10:37
David Crow4-May-06 10:37 
Something else must be up. I used the following and both methods get called:

BEGIN_MESSAGE_MAP(CEditEx, CEdit)
    //{{AFX_MSG_MAP(CEditEx)
    ON_MESSAGE(WM_COPY, OnCopy)
    //}}AFX_MSG_MAP
END_MESSAGE_MAP()
...
LRESULT CEditEx::OnCopy( WPARAM wParam, LPARAM lParam )
{
    // handle it here
    return 0;
}
...
LRESULT CEditEx::WindowProc(UINT message, WPARAM wParam, LPARAM lParam) 
{
    if (WM_COPY == message)
        ; // or here
 
    return CEdit::WindowProc(message, wParam, lParam);
}



"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

"We will be known forever by the tracks we leave." - Native American Proverb


GeneralRe: How to implement a WM_COPY handler for a CEdit derived control Pin
madmax00014-May-06 11:12
madmax00014-May-06 11:12 
Questionstd::string to float Pin
rahultaing4-May-06 7:43
rahultaing4-May-06 7:43 
AnswerRe: std::string to float Pin
Cedric Moonen4-May-06 7:49
Cedric Moonen4-May-06 7:49 
GeneralRe: std::string to float Pin
jiangalong4-May-06 20:35
jiangalong4-May-06 20:35 
GeneralRe: std::string to float Pin
Cedric Moonen4-May-06 20:45
Cedric Moonen4-May-06 20:45 
AnswerRe: std::string to float Pin
Michael Dunn4-May-06 8:38
sitebuilderMichael Dunn4-May-06 8:38 
NewsRe: std::string to float Pin
Roland Pibinger4-May-06 10:41
Roland Pibinger4-May-06 10:41 
GeneralRe: std::string to float Pin
Michael Dunn4-May-06 10:53
sitebuilderMichael Dunn4-May-06 10:53 
QuestionRe: std::string to float Pin
led mike4-May-06 11:56
led mike4-May-06 11:56 

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.