Click here to Skip to main content
16,004,974 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
I must have read that KB 5 times before but after actually fixing the problem I now understand the KB - DOH. The answer was exactly in that KB I listed, I feel like a right wally now Blush | :O

Just in case someone else needs it spelt out like I did on this occasion:
1. The app wizard creates accelerator keys for Ctrl-C, Ctrl-V etc.
2. CFormView's (and probably a class a bit higher up), process accelerator keys, whereas CDialog does not
3. Processing an accelerator key (finding a match between the keys you pressed and an entry in the accelerator key table) means the key press is not passed on to child controls - hence the CEdit control never gets the keys

In my case, I wasn't using the accelerators at all, so simply deleting these entries fixed the problem.

Hope my mistake helps someone else!

Rincewind
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 
GeneralRe: Playing *.avi files[modified] Pin
prasad_som21-Oct-05 1:54
prasad_som21-Oct-05 1:54 
GeneralRe: Playing *.avi files[modified] Pin
ddmcr21-Oct-05 2:05
ddmcr21-Oct-05 2: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.