Click here to Skip to main content
15,886,724 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: openvc dll Pin
David Crow30-Mar-05 5:22
David Crow30-Mar-05 5:22 
GeneralWindows socket Pin
alireza_shokoie30-Mar-05 2:54
alireza_shokoie30-Mar-05 2:54 
GeneralRe: Windows socket Pin
Mike Dimmick30-Mar-05 3:31
Mike Dimmick30-Mar-05 3:31 
QuestionRetrieving the position of icons on the desktop, howto ? Pin
ohadp30-Mar-05 1:08
ohadp30-Mar-05 1:08 
AnswerRe: Retrieving the position of icons on the desktop, howto ? Pin
David Crow30-Mar-05 2:51
David Crow30-Mar-05 2:51 
GeneralDevice driver compatability Pin
Neha.marwaha30-Mar-05 0:23
Neha.marwaha30-Mar-05 0:23 
GeneralRe: Device driver compatability Pin
Alexander M.,30-Mar-05 6:35
Alexander M.,30-Mar-05 6:35 
Generalapplication's accelerators interfering with edit box on form view Pin
T.T.H.30-Mar-05 0:12
T.T.H.30-Mar-05 0:12 
I am using Visual C++ .NET 2003 and made a MFC multiple document application with a form view (CFormView). On that view is placed an edit box to which I connected a CString variable (including all those "DDX_Text(pDX, IDC_EDIT_NAME, m_Name)" etc.). In addition my application has keyboard shortcuts, defined in "Accelerator" in the ressource editor.

The problem is that those shortcuts interfere when I want to enter a text into the edit box, e.x. my shortcut keys don't result in a letter in the edit box but do the shortcut stuff (opening a dialog, etc.).

Is it possible to somehow override/disable all the keyboard shortcuts when the focus is on the edit box? If that's possible I could catch ON_EN_SETFOCUS and ON_EN_KILLFOCUS in the form view and disable and later enable again the accelerators.

Or do I have to write my own control derived from CEdit? (hopefully not...) Will the accelerators still have priority over my own control then or viceversa? (if yes even an own control won't help...)

Thanks & Bye,
T.T.H.


P.S.: I searched Codeproject on this problem for over an hour by now...
GeneralDeleteFile not working! Pin
vikramlinux29-Mar-05 23:43
vikramlinux29-Mar-05 23:43 
GeneralRe: DeleteFile not working! Pin
BadJerry29-Mar-05 23:59
BadJerry29-Mar-05 23:59 
GeneralRe: DeleteFile not working! Pin
vikramlinux30-Mar-05 0:15
vikramlinux30-Mar-05 0:15 
GeneralRe: DeleteFile not working! Pin
jhwurmbach30-Mar-05 3:06
jhwurmbach30-Mar-05 3:06 
GeneralRe: DeleteFile not working! Pin
Steve Thresher30-Mar-05 1:40
Steve Thresher30-Mar-05 1:40 
GeneralText on Image (in GDI+) Pin
smicikli29-Mar-05 23:42
smicikli29-Mar-05 23:42 
GeneralRe: Text on Image (in GDI+) Pin
John R. Shaw30-Mar-05 7:35
John R. Shaw30-Mar-05 7:35 
GeneralRe: Text on Image (in GDI+) Pin
smicikli30-Mar-05 8:03
smicikli30-Mar-05 8:03 
GeneralRe: Text on Image (in GDI+) Pin
John R. Shaw30-Mar-05 8:39
John R. Shaw30-Mar-05 8:39 
GeneralRe: Text on Image (in GDI+) Pin
smicikli30-Mar-05 10:13
smicikli30-Mar-05 10:13 
GeneralRe: Text on Image (in GDI+) Pin
smicikli31-Mar-05 6:33
smicikli31-Mar-05 6:33 
GeneralRe: Text on Image (in GDI+) Pin
John R. Shaw31-Mar-05 21:09
John R. Shaw31-Mar-05 21:09 
GeneralWindow Equivalent !! Pin
ThatsAlok29-Mar-05 23:35
ThatsAlok29-Mar-05 23:35 
GeneralRe: Window Equivalent !! Pin
BadJerry29-Mar-05 23:55
BadJerry29-Mar-05 23:55 
GeneralRe: Window Equivalent !! Pin
ThatsAlok30-Mar-05 0:09
ThatsAlok30-Mar-05 0:09 
GeneralRe: Window Equivalent !! Pin
David Crow30-Mar-05 3:13
David Crow30-Mar-05 3:13 
GeneralRe: Window Equivalent !! Pin
ThatsAlok30-Mar-05 17:59
ThatsAlok30-Mar-05 17:59 

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.