Hi,

I have declared and created in CMainFrame a CDialogBar.
In the resource dialog corresponding to this CDialogBar, I have put a pushbutton and a activeX ( Microsoft Forms 2.0 CommandButton ).
My problem is that when I'm doing this :

//{{AFX_MSG_MAP(CCADImplantView)
ON_COMMAND(ID_PUSHBUTTON, OnButton)
ON_COMMAND(ID_ACTIVEX_BUTTON, OnActiveXButton)
....




The "OnButton()" method is called when I press the pushbutton, but not "OnActiveXButton()" when I press the ActiveX Button.

Do you understand why ?
How can I manage to put this ActiveX in my CDialogBar and handle his events ?

Thanks in advance.