Hi friends I have a big problem in my hands that I can't resolve.
The issue is this:
I have an OCX (MFC Control) that is working fine on Visual Basic.
And I have a MFC Application that uses this OCX, and to use it I follow
this steps:
1- Project->AddToProject->Controls&Components -- and add my OCX.
2- Add The Component in a Dialog Object
3- Add a Member Variable to the control
4- Handle the events in class wizard.
5- Wrote my code.
Ok the code for the control are in:
void XXX::OnShowWindow(BOOL bShow, UINT nStatus)
dialog event handle.
all work fine, but I can't get the events from OCX, the function handler
does not ever been called.
What is Wrong ????
Very Thanks,
Danilo ...
The issue is this:
I have an OCX (MFC Control) that is working fine on Visual Basic.
And I have a MFC Application that uses this OCX, and to use it I follow
this steps:
1- Project->AddToProject->Controls&Components -- and add my OCX.
2- Add The Component in a Dialog Object
3- Add a Member Variable to the control
4- Handle the events in class wizard.
5- Wrote my code.
Ok the code for the control are in:
void XXX::OnShowWindow(BOOL bShow, UINT nStatus)
dialog event handle.
all work fine, but I can't get the events from OCX, the function handler
does not ever been called.
What is Wrong ????
Very Thanks,
Danilo ...