Click here to Skip to main content
15,913,854 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: Conversion to and from TCHAR* Pin
lafleon17-Nov-06 13:35
lafleon17-Nov-06 13:35 
QuestionCan I derive from an ATL ActiveX control? Pin
markjmalin23-Oct-06 6:44
markjmalin23-Oct-06 6:44 
AnswerRe: Can I derive from an ATL ActiveX control? Pin
led mike25-Oct-06 13:24
led mike25-Oct-06 13:24 
GeneralRe: Can I derive from an ATL ActiveX control? Pin
markjmalin26-Oct-06 3:15
markjmalin26-Oct-06 3:15 
GeneralRe: Can I derive from an ATL ActiveX control? Pin
led mike26-Oct-06 4:50
led mike26-Oct-06 4:50 
GeneralRe: Can I derive from an ATL ActiveX control? Pin
markjmalin26-Oct-06 4:54
markjmalin26-Oct-06 4:54 
GeneralRe: Can I derive from an ATL ActiveX control? Pin
led mike26-Oct-06 5:31
led mike26-Oct-06 5:31 
GeneralRe: Can I derive from an ATL ActiveX control? Pin
markjmalin26-Oct-06 5:53
markjmalin26-Oct-06 5:53 
Sorry. The ActiveX controls have methods that need to be called on them. Obviously things like painting happen already. These controls are things like real-time graphs (strip charts) for instance, which have data sent to them, status information, etc. There are numeric displays that a user might interact with via touch-screen, which might visibly change based on user input. We're using a "Model/View/Controler" pattern, and the "View" part of that will contain the ActiveX controls for user input and display of information. The Model and Controller (also COM objects) process user input events from the View and change the display of the ActiveX controls where needed.

So I need some way for the Model to manage the View. Since the View is a container of ActiveX controls, the Model needs access to these to update them and make visual changes via calling methods on them. If a View container can have any number of diverse ActiveX control on it, I thought a vector would be a good route.

Our current design has specific View containers pre-defined. It's a very non-flexible design. One pre-defined view might always have 3 buttons along the top, so there are 3 "ViewHost" members containing buttons. It may always have a static text box, so there's one "ViewHost" member for that. When the user touches the button, maybe the next step is for the other two buttons to dissapear and the text to change. The Model needs to have access to the View's ActiveX controls to tell the 2 buttons to make themselves invisible, and push some text into the text box.

Hope that makes it clearer.

Mark.



Mark Malin
Software Developer
GE Healthcare

GeneralRe: Can I derive from an ATL ActiveX control? Pin
led mike26-Oct-06 6:06
led mike26-Oct-06 6:06 
GeneralRe: Can I derive from an ATL ActiveX control? Pin
markjmalin26-Oct-06 6:24
markjmalin26-Oct-06 6:24 
QuestionOLE DB app crashes when using non-Access data source Pin
User 1278218-Oct-06 16:45
User 1278218-Oct-06 16:45 
AnswerRe: OLE DB app crashes when using non-Access data source Pin
Jörgen Sigvardsson19-Oct-06 9:51
Jörgen Sigvardsson19-Oct-06 9:51 
GeneralRe: OLE DB app crashes when using non-Access data source Pin
User 1278219-Oct-06 17:53
User 1278219-Oct-06 17:53 
QuestionAtl New Object Pin
With_problem17-Oct-06 16:35
With_problem17-Oct-06 16:35 
QuestionRe: Atl New Object Pin
prasad_som17-Oct-06 19:59
prasad_som17-Oct-06 19:59 
QuestionDCOM in WinXP or samething esle is better [modified] Pin
Greg_moon16-Oct-06 0:12
Greg_moon16-Oct-06 0:12 
Questionwhy triats declaration cannot work? Pin
Yaki_1515-Oct-06 21:21
Yaki_1515-Oct-06 21:21 
GeneralRe: why triats declaration cannot work? Pin
prasad_som17-Oct-06 18:50
prasad_som17-Oct-06 18:50 
AnswerRe: why triats declaration cannot work? Pin
Lim Bio Liong18-Oct-06 3:48
Lim Bio Liong18-Oct-06 3:48 
GeneralRe: why triats declaration cannot work? Pin
Yaki_1518-Oct-06 15:00
Yaki_1518-Oct-06 15:00 
GeneralRe: why triats declaration cannot work? Pin
Lim Bio Liong18-Oct-06 16:04
Lim Bio Liong18-Oct-06 16:04 
GeneralRe: why triats declaration cannot work? Pin
Yaki_1518-Oct-06 15:29
Yaki_1518-Oct-06 15:29 
GeneralRe: why triats declaration cannot work? Pin
Lim Bio Liong18-Oct-06 16:01
Lim Bio Liong18-Oct-06 16:01 
QuestionI want to upload mp3 files using .net Pin
vijayprakash.g14-Oct-06 4:39
vijayprakash.g14-Oct-06 4:39 
AnswerRe: I want to upload mp3 files using .net Pin
Sceptic Mole20-Oct-06 0:41
Sceptic Mole20-Oct-06 0:41 

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.