![]() |
How to create a dynamic Edit In CView |
Post Reply ![]() |
Author | |
gpsunjp ![]() Newbie ![]() Joined: 07 April 2005 Location: Benin Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() Posted: 05 March 2010 at 2:37am |
Hello,
I want to create a dynamic Edit for "in-place" inputting in a CView window, and I want to know when the Input is ended. I tried CXTItemEdit. Because I create it dynamicaly as following, //------------------------ CRect rect(50,50,100,100); CString strWindowText = "1.0"; DWORD dwBStyle = 0; bool bAutoDelete = true; m_ctrlInputEdit.Create(this, rect, strWindowText, dwBStyle, bAutoDelete); //------------------------ I don't know the Edit resource ID IDC_CTRL_ID, So I don't know how to define the following message. ON_BEN_XT_LABELEDITCANCEL(IDC_CTRL_ID, OnLabelEditCancel) Could anyone help me. Thank you in advance. G.P. Sun |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |