inserting ActiveX controll problem
-
hi all i m using visual studio.net for mfc applications. i had inserted the activex conroll named microst forms label 2.0. when i run the application it is not visible. i checked its visible and enable properties which r true. i tried to insert other controlls those are visible but this particular activex controll is not visible it gives no error. ddd
-
hi all i m using visual studio.net for mfc applications. i had inserted the activex conroll named microst forms label 2.0. when i run the application it is not visible. i checked its visible and enable properties which r true. i tried to insert other controlls those are visible but this particular activex controll is not visible it gives no error. ddd
-
do you create it dynamically (at runtime) or with the resource dialog designer (placing custom control) ? if doing at runtime, have you correctly called
.Create()?Is this a dialog based application? verify that you have called
AfxEnableControlContainer()in your application'sInitInastanceMethod see this article in MSDN "ActiveX Control Containers: Manually Enabling ActiveX Control Containment" dont forget to include "#include <Afxdisp.h>" hope this work Azam -
Is this a dialog based application? verify that you have called
AfxEnableControlContainer()in your application'sInitInastanceMethod see this article in MSDN "ActiveX Control Containers: Manually Enabling ActiveX Control Containment" dont forget to include "#include <Afxdisp.h>" hope this work Azam -
hi all i m using visual studio.net for mfc applications. i had inserted the activex conroll named microst forms label 2.0. when i run the application it is not visible. i checked its visible and enable properties which r true. i tried to insert other controlls those are visible but this particular activex controll is not visible it gives no error. ddd
Is this a dialog based application? verify that you have called
AfxEnableControlContainer()in your application's InitInastance Method see this article in MSDN "ActiveX Control Containers: Manually Enabling ActiveX Control Containment" dont forget to include"#include <Afxdisp.h>"hope this work Azam -
do you create it dynamically (at runtime) or with the resource dialog designer (placing custom control) ? if doing at runtime, have you correctly called
.Create()? -
Is this a dialog based application? verify that you have called
AfxEnableControlContainer()in your application's InitInastance Method see this article in MSDN "ActiveX Control Containers: Manually Enabling ActiveX Control Containment" dont forget to include"#include <Afxdisp.h>"hope this work Azam -
do you create it dynamically (at runtime) or with the resource dialog designer (placing custom control) ? if doing at runtime, have you correctly called
.Create()?