Dialog bar (CDialog Bar) activex(flexgrid control) fire events

 

S.O: winxp
visual c++ 6.0 service pack 5

well i tried to use flexgrid contron over dialog bar (works well). functions are working. but when y tried to fire events and nothing happens.
in a dialog based App Work's, but in a sdi App(MFC wizard) doesn't work, of course in a dialog bar(CDialogBar Type) .

the following code is a little example in mainfrm.cpp file:

BEGIN_EVENTSINK_MAP(CMainFrame, CFrameWnd)
    //{{AFX_EVENTSINK_MAP(CMainFrame)
 ON_EVENT(CMainFrame, IDC_DATAG, 69 /* SelChange */, OnSelChangeDatag, VTS_NONE)
 //}}AFX_EVENTSINK_MAP
END_EVENTSINK_MAP()

 

void CMainFrame::OnSelChangeDatag()
{
 //do something


}

header file have message map of course...

exist any way to do that ...mean  fire flexgrid control events  in a dialog bar control



Answer this question

Dialog bar (CDialog Bar) activex(flexgrid control) fire events

  • anyoneis

    Hi,

    This forum is dedicated to questions specifically about the 2005 (Whidbey) Beta 2 and later CTP releases of Visual C++ or the C++ features of Visual Studio. Folks on microsoft.public.vc.mfc newsgroups would be happy to help you out with this question.

    Thanks,
    Nikola
    VC++

  • Dialog bar (CDialog Bar) activex(flexgrid control) fire events