Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How to create a dynamic Edit In CView
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to create a dynamic Edit In CView

 Post Reply Post Reply
Author
Message
gpsunjp View Drop Down
Newbie
Newbie


Joined: 07 April 2005
Location: Benin
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote gpsunjp Quote  Post ReplyReply Direct Link To This Post Topic: How to create a dynamic Edit In CView
    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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.219 seconds.