Click here to Skip to main content
15,915,336 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: pad zero in front of long value? Pin
valerie9921-Oct-05 7:54
valerie9921-Oct-05 7:54 
AnswerRe: pad zero in front of long value? Pin
valerie9921-Oct-05 7:54
valerie9921-Oct-05 7:54 
QuestionRe: pad zero in front of long value? Pin
David Crow21-Oct-05 8:51
David Crow21-Oct-05 8:51 
Answerthe number is used for citycode lookup Pin
valerie9921-Oct-05 9:30
valerie9921-Oct-05 9:30 
AnswerRe: pad zero in front of long value? Pin
bugDanny21-Oct-05 7:32
bugDanny21-Oct-05 7:32 
QuestionPlease Help me again.... Pin
NSoft21-Oct-05 4:28
NSoft21-Oct-05 4:28 
AnswerRe: Please Help me again.... Pin
Smith#21-Oct-05 6:03
Smith#21-Oct-05 6:03 
QuestionCEdit ctrl-c, ctrl-v doesn't work on a CFormView derived window Pin
TheRincewind21-Oct-05 3:47
TheRincewind21-Oct-05 3:47 
First off, I appologise if this has been answered before. I always perform a thorough search across google, newsgroups and ofcourse codeproject, but alas I can't find what I need this time hence my first post.

I have an application that has many CEdit controls, the ones that are on a CDialog derived window have the context menu and the ctrl-c etc keyboard shortcuts. The ones that are on a CFormView have the context menu but the ctrl-c etc keyboard shortcuts do not work.
And yes I have found Knowledge Base article Q145616 "How to Enable Edit Menu
Commands for Edit Controls" that everyone with this problem gets pointed to, but this is about the global Edit->Copy, Edit-Paste menu items not the keyboard shortcuts for each Edit control.

How do I get this to work? Will subclassing the CEdit control, handling the key presses and replacing all instances of CEdit with my subclasses control work - if so then why on earth doesn't the CEdit control work this way.

Many thanks,

Rincewind
QuestionRe: CEdit ctrl-c, ctrl-v doesn't work on a CFormView derived window Pin
David Crow21-Oct-05 5:26
David Crow21-Oct-05 5:26 
AnswerRe: CEdit ctrl-c, ctrl-v doesn't work on a CFormView derived window Pin
TheRincewind21-Oct-05 6:02
TheRincewind21-Oct-05 6:02 
QuestionScheduler Pin
karmendra_js21-Oct-05 2:56
karmendra_js21-Oct-05 2:56 
AnswerRe: Scheduler Pin
David Crow21-Oct-05 3:03
David Crow21-Oct-05 3:03 
AnswerRe: Scheduler Pin
Eytukan21-Oct-05 5:58
Eytukan21-Oct-05 5:58 
QuestionWindows service Pin
Ankit Aneja21-Oct-05 1:24
Ankit Aneja21-Oct-05 1:24 
AnswerRe: Windows service Pin
Mircea Puiu21-Oct-05 2:08
Mircea Puiu21-Oct-05 2:08 
GeneralRe: Windows service Pin
Ankit Aneja21-Oct-05 2:12
Ankit Aneja21-Oct-05 2:12 
QuestionSDI/MDI interface Pin
benjnp21-Oct-05 1:23
benjnp21-Oct-05 1:23 
AnswerRe: SDI/MDI interface Pin
Cedric Moonen21-Oct-05 2:02
Cedric Moonen21-Oct-05 2:02 
AnswerRe: SDI/MDI interface Pin
The NULL Developer21-Oct-05 2:04
professionalThe NULL Developer21-Oct-05 2:04 
QuestionProblem in ReadFile() Pin
Anonymous21-Oct-05 1:21
Anonymous21-Oct-05 1:21 
AnswerRe: Problem in ReadFile() Pin
ThatsAlok21-Oct-05 1:33
ThatsAlok21-Oct-05 1:33 
AnswerRe: Problem in ReadFile() Pin
prasad_som21-Oct-05 3:02
prasad_som21-Oct-05 3:02 
GeneralRe: Problem in ReadFile() Pin
David Crow21-Oct-05 3:06
David Crow21-Oct-05 3:06 
GeneralRe: Problem in ReadFile() Pin
prasad_som21-Oct-05 3:10
prasad_som21-Oct-05 3:10 
QuestionPlaying *.avi files[modified] Pin
ddmcr21-Oct-05 1:07
ddmcr21-Oct-05 1:07 

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.