|
-
April 16th, 1999, 11:53 AM
#1
Problem with CDialogBar
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.
-
May 6th, 1999, 11:05 AM
#2
Re: Problem with CDialogBar
Hi,
I have the same problem as you. Have you solved this problem?
-
May 7th, 1999, 02:46 AM
#3
Re: Problem with CDialogBar
Hi,
No I didn't solve the problem !!
For instance I have decided to create my own button, without using an ActiveX !!
Frédéric Naudeau.
-
May 7th, 1999, 06:07 AM
#4
Re: Problem with CDialogBar
Hi,
We need to add the message map in CMainFrame only for all the controls we use in dialogbar. Paste all code and message map macros in mainframe and check. Inform me the result.
Bye,
Dinesh.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|