Click here to Skip to main content
16,008,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Text Editor as a list control? Pin
Jay Hova8-Jul-03 8:54
Jay Hova8-Jul-03 8:54 
GeneralRe: Text Editor as a list control? Pin
David Crow8-Jul-03 9:33
David Crow8-Jul-03 9:33 
QuestionHow to unzip archive file in C/C++ Pin
Valera2411768-Jul-03 6:07
Valera2411768-Jul-03 6:07 
AnswerRe: How to unzip archive file in C/C++ Pin
Jon Sagara8-Jul-03 6:21
Jon Sagara8-Jul-03 6:21 
GeneralMysterious C++ behaviour Pin
RK_20008-Jul-03 6:01
RK_20008-Jul-03 6:01 
GeneralRe: Mysterious C++ behaviour Pin
Magnus Westin8-Jul-03 6:52
Magnus Westin8-Jul-03 6:52 
GeneralWM_KEYDOWN Events... Pin
Tintori Francesco8-Jul-03 5:09
Tintori Francesco8-Jul-03 5:09 
GeneralRe: WM_KEYDOWN Events... Pin
Mike Dimmick8-Jul-03 5:26
Mike Dimmick8-Jul-03 5:26 
Yes, but you need to subclass the control you're interested in. Derive your own class from CEdit (or other class as appropriate). If you're creating the control yourself using the Create() member function, use your class in place of CEdit.

If you're interested in a control that's on, for example, a dialog (or another control that's created by some piece of code you can't modify), create an object of your class with a lifetime at least as long as the control, then call SubclassWindow() on the object, passing the window handle of the control you're interested in.

Typically, if the control is on a dialog, you'll create the object that manages the control as a member variable of the dialog's class.

Alternatively using DDX_Control() in a DoDataExchange() function works well.

The change event (EN_CHANGE, a WM_COMMAND message) is actually sent by the edit control during its processing of the message that caused the control's contents to change.

--
Mike Dimmick

GeneralRe: WM_KEYDOWN Events... Pin
Tintori Francesco8-Jul-03 5:39
Tintori Francesco8-Jul-03 5:39 
GeneralRe: WM_KEYDOWN Events... Pin
Rage8-Jul-03 5:55
professionalRage8-Jul-03 5:55 
GeneralRe: WM_KEYDOWN Events... Pin
Mike Dimmick8-Jul-03 5:56
Mike Dimmick8-Jul-03 5:56 
GeneralRe: WM_KEYDOWN Events... Pin
Tintori Francesco8-Jul-03 6:01
Tintori Francesco8-Jul-03 6:01 
Generalgetting the path Pin
pnpfriend8-Jul-03 4:53
pnpfriend8-Jul-03 4:53 
GeneralRe: getting the path Pin
valikac8-Jul-03 5:30
valikac8-Jul-03 5:30 
GeneralRe: getting the path Pin
Joaquín M López Muñoz8-Jul-03 7:02
Joaquín M López Muñoz8-Jul-03 7:02 
GeneralRe: getting the path Pin
David Crow8-Jul-03 7:29
David Crow8-Jul-03 7:29 
GeneralWorking with files Pin
jales8-Jul-03 4:02
jales8-Jul-03 4:02 
GeneralRe: Working with files Pin
AlexO8-Jul-03 4:06
AlexO8-Jul-03 4:06 
GeneralRe: Working with files Pin
John M. Drescher8-Jul-03 4:13
John M. Drescher8-Jul-03 4:13 
GeneralRe: Working with files Pin
Rage8-Jul-03 5:57
professionalRage8-Jul-03 5:57 
GeneralRe: Working with files Pin
Magnus Westin8-Jul-03 6:38
Magnus Westin8-Jul-03 6:38 
GeneralRe: Working with files Pin
jales9-Jul-03 0:38
jales9-Jul-03 0:38 
GeneralRe: Working with files Pin
Magnus Westin9-Jul-03 6:56
Magnus Westin9-Jul-03 6:56 
GeneralRe: Working with files Pin
Ryan Binns8-Jul-03 7:23
Ryan Binns8-Jul-03 7:23 
QuestionHow to store a numeric value to *.mdb table from interface Pin
Anonymous8-Jul-03 3:53
Anonymous8-Jul-03 3:53 

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.