GIDForums  

Go Back   GIDForums > Computer Programming Forums > MS Visual C++ / MFC Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 21-Jun-2005, 06:45
SteelX SteelX is offline
Awaiting Email Confirmation
 
Join Date: Apr 2005
Posts: 4
SteelX is on a distinguished road

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 control over dialog bar (works well). functions are working. but when i 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:

CPP / C++ / C Code:
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?
Last edited by JdS : 21-Jun-2005 at 07:49. Reason: please insert your example C codes between [c] and [/c] bbcode tags
  #2  
Old 20-Mar-2008, 03:33
Nishtha Nishtha is offline
New Member
 
Join Date: Feb 2008
Posts: 5
Nishtha is on a distinguished road

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


Hi
I m using vc++6.0
I want to use Flexgrid on my dialog to display the records in the recordset.
Please help me on this.
 
 

Recent GIDBlogProblems with the Navy (Officers) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CTabCtrl Child dialog control problems Vix MS Visual C++ / MFC Forum 5 06-Feb-2007 09:54
Help! Some basal questions about MFC xutingnjupt MS Visual C++ / MFC Forum 1 05-Dec-2004 03:38
How to let Enter-key-press message goes to ActiveX control on dialog Yuri MS Visual C++ / MFC Forum 3 08-Sep-2004 07:40

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 13:16.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.