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

C / C++ / MFC

 
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 
Hi,

I have written a CEdit derived control for displaying formatted float values. Now I want to implement a handler for WM_COPY and WM_PASTE.
The WM_COPY handler for e.g. must copy the unformatted(!) float value to the clipboard.

I have tried something like
BEGIN_MESSAGE_MAP(CMyNumberEdit, CEdit)
ON_MESSAGE(WM_COPY, OnCopy)
END_MESSAGE_MAP()

...

but OnCopy is never called.

Can anyone help me?
THX
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 
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 

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.