Custom ActiveX Control containing standard MFC controls.
From: Arthur (arthur_at_fubaby.com)
Date: 10/29/04
- Next message: Jeff Partch [MVP]: "Re: CTabCtrl::GetItem always returns TCITEM with invalid pszText"
- Previous message: RainMan: "RE: CStatusBar Paint Problem"
- Next in thread: Scott McPhillips [MVP]: "Re: Custom ActiveX Control containing standard MFC controls."
- Reply: Scott McPhillips [MVP]: "Re: Custom ActiveX Control containing standard MFC controls."
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 29 Oct 2004 10:56:18 GMT
I'm new to ActiveX stuff, although have quite a bit experience with MFC,
so please bear with me. Want I want to do, is create a custom control
that is a 'collection' standard MFC widgets. Basically a listbox, with
some other widgets for narrowing down the results in it, but the client
app only sees what the user finally selects in the list box. I want to
use this collection of controls in a number of different places and apps
too.
So first question, am I barking up the right tree, by trying to
implement this as an ActiveX control?
I've created an project using the wizard in VS.NET '03, I've enabled the
'Act as a simple frame control' option. As my initial searchs on the net
and in msdn, pointed out using the ISimpleFrameSite interface for this.
Problem is, when I use this control, All I get displayed is the default
circle and rectangle drawn in the overidden OnDraw function. Any widgets
I add to the PropertyPage aren't displayed at all.
So basically my question is, how do I get the ActiveX custom control to
display the PropertyPage?
Arthur.
- Next message: Jeff Partch [MVP]: "Re: CTabCtrl::GetItem always returns TCITEM with invalid pszText"
- Previous message: RainMan: "RE: CStatusBar Paint Problem"
- Next in thread: Scott McPhillips [MVP]: "Re: Custom ActiveX Control containing standard MFC controls."
- Reply: Scott McPhillips [MVP]: "Re: Custom ActiveX Control containing standard MFC controls."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|