Click here to Skip to main content
15,897,090 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: How to implement a WM_COPY handler for a CEdit derived control Pin
madmax00014-May-06 11:12
madmax00014-May-06 11:12 
Hi,

thank you very much. You're right. I have found my problem. I had implemented a handler for WM_CHAR where my editbox content is formatted. To process WM_COPY commands I must call the base class procedure for WM_CHAR for nonprintable characters like this:

void CMyEdit::OnChar(UINT nChar, UINT nRepCnt, UINT nFlags)
{
if(isprint(nChar)==0){
CEdit::OnChar(nChar, nRepCnt, nFlags);
return;
}

// Further processing here

}


Now the OnCopy implementation is called !

Smile | :)
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 
QuestionAppending text to a richedit Pin
KellyR4-May-06 6:05
KellyR4-May-06 6:05 

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.