Click here to Skip to main content
15,896,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
JokeRe: std::string to float Pin
David Crow5-May-06 2:24
David Crow5-May-06 2:24 
GeneralRe: std::string to float Pin
Rob Caldecott4-May-06 13:18
Rob Caldecott4-May-06 13:18 
GeneralRe: std::string to float Pin
Stephen Hewitt4-May-06 15:06
Stephen Hewitt4-May-06 15:06 
QuestionTray icon notifier when usb plugging Pin
asancho4-May-06 6:32
asancho4-May-06 6:32 
AnswerRe: Tray icon notifier when usb plugging Pin
toxcct4-May-06 6:44
toxcct4-May-06 6:44 
GeneralRe: Tray icon notifier when usb plugging Pin
asancho5-May-06 1:36
asancho5-May-06 1:36 
QuestionXML string to DataTable Pin
lsugirljte4-May-06 6:27
lsugirljte4-May-06 6:27 
GeneralRe: XML string to DataTable Pin
lsugirljte4-May-06 6:29
lsugirljte4-May-06 6: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.