Click here to Skip to main content
15,902,634 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralYup Pin
7-May-02 7:22
suss7-May-02 7:22 
Questionwho knows that? Pin
Atilla Selem7-May-02 6:38
Atilla Selem7-May-02 6:38 
AnswerRe: who knows that? Pin
Chris Losinger7-May-02 6:49
professionalChris Losinger7-May-02 6:49 
GeneralDrag and Drop bitmaps !!! Pin
Hadi Rezaee7-May-02 4:56
Hadi Rezaee7-May-02 4:56 
GeneralRe: Drag and Drop bitmaps !!! Pin
Chris Hambleton7-May-02 5:23
Chris Hambleton7-May-02 5:23 
GeneralRe: Drag and Drop bitmaps !!! Pin
Hadi Rezaee7-May-02 5:43
Hadi Rezaee7-May-02 5:43 
GeneralQ: how to obtain interface pointer for ATL ActiveX control in an MFC app Pin
Gil Clark7-May-02 4:53
Gil Clark7-May-02 4:53 
GeneralRe: Q: how to obtain interface pointer for ATL ActiveX control in an MFC app Pin
Gil Clark8-May-02 7:13
Gil Clark8-May-02 7:13 
OK, now that this is buried deep it probably won't be seen, but a co-worker of mine has helped me figure this out.

CWnd* pControl = GetDlgItem(IDC_THECONTROLID);

if (pControl)
{
pControl->EnableAutomation();
IUnknown* pUnk = pControl->GetControlUnknown();
CComQIPtr<ITheControl> pIFace(pUnk);
if(pIFace)
{
pIFace->AControlMethod(value);
}
}

GeneralDisplay a dialog box from a DLL COM Pin
Jerome Conus7-May-02 4:38
Jerome Conus7-May-02 4:38 
GeneralRe: Display a dialog box from a DLL COM Pin
Chris Losinger7-May-02 5:08
professionalChris Losinger7-May-02 5:08 
GeneralRe: Display a dialog box from a DLL COM Pin
Jerome Conus7-May-02 5:13
Jerome Conus7-May-02 5:13 
GeneralRe: Display a dialog box from a DLL COM Pin
Jonathan Craig7-May-02 5:46
Jonathan Craig7-May-02 5:46 
GeneralRe: Display a dialog box from a DLL COM Pin
Jerome Conus7-May-02 5:55
Jerome Conus7-May-02 5:55 
Questiondoes CTreeCtrl have this function? Pin
7-May-02 4:23
suss7-May-02 4:23 
AnswerRe: does CTreeCtrl have this function? Pin
Philip Patrick7-May-02 6:35
professionalPhilip Patrick7-May-02 6:35 
AnswerRe: does CTreeCtrl have this function? Pin
Joel Lucsy7-May-02 11:33
Joel Lucsy7-May-02 11:33 
Questiondoes CTreeCtrl have this fuction? Pin
7-May-02 4:19
suss7-May-02 4:19 
AnswerRe: does CTreeCtrl have this fuction? Pin
Chris Losinger7-May-02 4:26
professionalChris Losinger7-May-02 4:26 
GeneralSome DLL questions !!! Pin
Hadi Rezaee7-May-02 4:15
Hadi Rezaee7-May-02 4:15 
GeneralRe: Some DLL questions !!! Pin
Chris Losinger7-May-02 4:27
professionalChris Losinger7-May-02 4:27 
GeneralRe: Some DLL questions !!! Pin
Hadi Rezaee7-May-02 5:08
Hadi Rezaee7-May-02 5:08 
GeneralRe: Some DLL questions !!! Pin
Paul M Watt7-May-02 5:23
mentorPaul M Watt7-May-02 5:23 
GeneralRe: Some DLL questions !!! Pin
Paul M Watt7-May-02 5:20
mentorPaul M Watt7-May-02 5:20 
GeneralRe: Some DLL questions !!! Pin
Hadi Rezaee7-May-02 6:19
Hadi Rezaee7-May-02 6:19 
GeneralRe: Some DLL questions !!! Pin
Paul M Watt7-May-02 7:31
mentorPaul M Watt7-May-02 7:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.