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

C / C++ / MFC

 
GeneralRe: Standalone in place CEdit Pin
jhwurmbach12-Aug-03 1:02
jhwurmbach12-Aug-03 1:02 
GeneralRe: Standalone in place CEdit Pin
Ravi Bhavnani12-Aug-03 2:34
professionalRavi Bhavnani12-Aug-03 2:34 
GeneralRe: Standalone in place CEdit Pin
Neville Franks12-Aug-03 2:47
Neville Franks12-Aug-03 2:47 
GeneralRe: Standalone in place CEdit Pin
igor196012-Aug-03 11:10
igor196012-Aug-03 11:10 
GeneralRe: Standalone in place CEdit Pin
Neville Franks12-Aug-03 11:18
Neville Franks12-Aug-03 11:18 
GeneralRe: Standalone in place CEdit Pin
igor196012-Aug-03 12:05
igor196012-Aug-03 12:05 
GeneralRe: Standalone in place CEdit Pin
HPSI12-Aug-03 2:42
HPSI12-Aug-03 2:42 
GeneralRe: Standalone in place CEdit Pin
Neville Franks12-Aug-03 2:52
Neville Franks12-Aug-03 2:52 
HPSI wrote:
That is curious. I just tried a dialog box with an edit control, put a WM_LBUTTONDOWN handler in the dialog box, and left-clicking in the edit box definitely does not go to the dialog box.

Your right. That's what I see in sample "Dialog" based apps here. See my reply to Ravi.

The derived class only uses OnKillFocus().

This is the create code:

DWORD dwStyle = WS_BORDER | WS_CHILD | ES_AUTOHSCROLL;
CRect EditRect( 0, 0, 1, 1 );
if( CEdit::Create( dwStyle, EditRect, m_pTreeCtrlEdit->m_pTreeCtrl, 12345 ) )
   ; ....


The edit window gets resized and shown when required. The parent window is a class derived from CWnd. And it lives in a docked control bar.

Neville Franks, Author of ED for Windows. Free Trial at www.getsoft.com
GeneralInternetQueryOption linking error Pin
si_6911-Aug-03 22:48
si_6911-Aug-03 22:48 
GeneralRe: InternetQueryOption linking error Pin
si_6911-Aug-03 22:58
si_6911-Aug-03 22:58 
GeneralRe: InternetQueryOption linking error Pin
Steve S12-Aug-03 0:41
Steve S12-Aug-03 0:41 
GeneralGroup Box - Change color border Pin
JensB11-Aug-03 22:43
JensB11-Aug-03 22:43 
GeneralRe: Group Box - Change color border Pin
Iain Clarke, Warrior Programmer11-Aug-03 23:08
Iain Clarke, Warrior Programmer11-Aug-03 23:08 
GeneralRe: Group Box - Change color border Pin
JensB11-Aug-03 23:44
JensB11-Aug-03 23:44 
Generall Pin
Anonymous11-Aug-03 22:31
Anonymous11-Aug-03 22:31 
GeneralRe: l Pin
Rickard Andersson2011-Aug-03 22:39
Rickard Andersson2011-Aug-03 22:39 
GeneralHelp in Picture Pin
henli11-Aug-03 22:20
henli11-Aug-03 22:20 
GeneralRe: Help in Picture Pin
Steve S12-Aug-03 0:31
Steve S12-Aug-03 0:31 
GeneralRe: Help in Picture Pin
henli12-Aug-03 5:03
henli12-Aug-03 5:03 
QuestionIs there free MCSD materials, questions (70-015)? Pin
vgrigor11-Aug-03 22:08
vgrigor11-Aug-03 22:08 
GeneralPopup menu question Pin
Cedric Moonen11-Aug-03 22:06
Cedric Moonen11-Aug-03 22:06 
GeneralRe: Popup menu question Pin
HPSI11-Aug-03 22:25
HPSI11-Aug-03 22:25 
GeneralRe: Popup menu question Pin
Cedric Moonen11-Aug-03 22:46
Cedric Moonen11-Aug-03 22:46 
Generallanguage classes for VC++6.0 Pin
Andrei Druta11-Aug-03 22:02
Andrei Druta11-Aug-03 22:02 
GeneralRe: language classes for VC++6.0 Pin
Steve S12-Aug-03 0:37
Steve S12-Aug-03 0:37 

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.