![]() |
I would like to send message to CXTPDockingpan. |
Post Reply
|
| Author | |
copycdx2
Groupie
Joined: 17 September 2008 Status: Offline Points: 20 |
Post Options
Thanks(0)
Quote Reply
Topic: I would like to send message to CXTPDockingpan.Posted: 25 September 2008 at 4:21am |
|
class Cg3OutlookBarContainer : public CTaskPanelBase
i make inherited class from CTaskPanelBase. and I attached my class to pane. case XTP_DPN_SHOWWINDOW: pPane->Attach(pWnd); I would like to Send Message to attached my class. when MainProgram state is changed. I think to send message to pane. or get my class from pane. ex) CXTPDockingPaneInfoList& paneList = m_paneManager.GetPaneList(); for (POSITION pos = paneList.GetHeadPosition(); pos;) { // the pane is active if the child view has focus. XTP_DOCKINGPANE_INFO& dpi = paneList.GetNext(pos); method 1. SendMessage( dpi.pPane, WM_PAINT ); or dpi.pPane->SendMessage(); method 2. dpi.pPane->GetMyClass()->MyFunction(); } |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 September 2008 at 3:00am |
|
Hi,
Just send it to pointer of Cg3OutlookBarContainer
pMyOutlookBarContainer->SendMessage(..);
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |