Print Page | Close Window

How to get the event of the controls ?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Task Panel
Forum Description: Topics Related to Codejock Task Panel
URL: http://forum.codejock.com/forum_posts.asp?TID=9355
Printed Date: 25 June 2024 at 6:43pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to get the event of the controls ?
Posted By: HMKIM
Subject: How to get the event of the controls ?
Date Posted: 18 January 2008 at 11:26pm
How to get controls's event on Task Panel ?
 
I am testing the SearchDLG of the TaskPanel sample.
But there is no way to receive the event of the controls.
 
       m_edtFileName.CreateEx(WS_EX_CLIENTEDGE, _T("Edit"), NULL, WS_CHILD|WS_VISIBLE, CRect(0, 0, 0, 20), &m_wndTaskPanel, 0);
        pGroup->AddControlItem(m_edtFileName);
 
 m_dlgModified.Create(IDD_DIALOG_SEARCH_MODIFIED, &m_wndTaskPanel);
 CXTPTaskPanelGroupItem* pItem = pGroup->AddControlItem(m_dlgModified);
 m_dlgModified.SetItem(pItem);
 
There are controls on the task panel, and the dialogs on the task panel. (like see above sample code).

I want to receive Mouse Click Event of the m_edtFileName.

And I want to receive the Event of the controls included in the m_dlgModified dialog ?
 
I am a beginner, please help me.

 
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net