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

ATL / WTL / STL

 
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 
GeneralRe: Can I derive from an ATL ActiveX control? Pin
led mike26-Oct-06 6:06
led mike26-Oct-06 6:06 
markjmalin wrote:
the Model needs access to these to update them and make visual changes via calling methods on them.

MVC pattern should utilize "events" to notify listeners of data changes. Then listeners "pull" data. This way the Model remains isolated from knowing about Controllers or Views. This is a major factor in the MVC design.

In your case it sounds like your View windows (the containers of all the CAxWindows) might be good candidates for registering for the data events. Then each View would have the logic about how to call methods in all it's child windows to update their displays.

Does that help?


led mike

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 
Questionhow to print the data listview to a bill Pin
ztkx12-Oct-06 19:28
ztkx12-Oct-06 19:28 

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.