Click here to Skip to main content
15,895,656 members
Home / Discussions / C#
   

C#

 
GeneralRe: Garbage Collection & Memory Leaks. Pin
Christian Graus29-Apr-07 18:15
protectorChristian Graus29-Apr-07 18:15 
GeneralRe: Garbage Collection & Memory Leaks. Pin
coleydog29-Apr-07 22:56
coleydog29-Apr-07 22:56 
GeneralRe: Garbage Collection & Memory Leaks. Pin
caix29-Apr-07 14:11
caix29-Apr-07 14:11 
GeneralRe: Garbage Collection & Memory Leaks. Pin
coleydog29-Apr-07 16:19
coleydog29-Apr-07 16:19 
GeneralRe: Garbage Collection & Memory Leaks. Pin
Dave Kreskowiak29-Apr-07 16:55
mveDave Kreskowiak29-Apr-07 16:55 
QuestionHow to get Status of Process (Urgent) Pin
Sanjib Raj28-Apr-07 22:18
Sanjib Raj28-Apr-07 22:18 
AnswerRe: How to get Status of Process (Urgent) Pin
Amir Jalaly29-Apr-07 1:51
Amir Jalaly29-Apr-07 1:51 
QuestionMVC custom control Pin
alex.barylski28-Apr-07 20:22
alex.barylski28-Apr-07 20:22 
I want to develope a control following strict MVC principles. My experience in developing custom controls using MFC goes against my current understanding of formal MVC. I realize they are patterns which are meant to be interpreted, but MFC controls seem to have tight coupling of components in the MVC triad.

For instance, if I were to develop a custom control I would likely superclass from a CView (or some other superclass). That CView acts as both the controller and the view, and sometimes has a model as a composite.

I dislike that design and I think proper MVC implementation would reduce concrete depencies.

I have considered how this could be done in straight C and the Windows SDK - later wrapping the control in a CView storing the component in a DLL or similar - Like that editor already on here.

My question is:

If I choose to support Windows only and figure I'll take a stab at C# is implementing a custom control using a strict MVC implementation possible? Do we have any articles on here about using C# with just the SDK to get around restrictions set by frameworks?

Cheers Smile | :)

I'm finding the only constant in software development is change it self.

AnswerRe: MVC custom control Pin
Christian Graus28-Apr-07 21:38
protectorChristian Graus28-Apr-07 21:38 
GeneralRe: MVC custom control Pin
alex.barylski29-Apr-07 7:41
alex.barylski29-Apr-07 7:41 
GeneralRe: MVC custom control Pin
Christian Graus29-Apr-07 11:02
protectorChristian Graus29-Apr-07 11:02 
Questionoverlaying image on a video file Pin
enamulhoque28-Apr-07 19:27
enamulhoque28-Apr-07 19:27 
AnswerRe: overlaying image on a video file Pin
Christian Graus28-Apr-07 21:39
protectorChristian Graus28-Apr-07 21:39 
GeneralRe: overlaying image on a video file Pin
enamulhoque29-Apr-07 4:27
enamulhoque29-Apr-07 4:27 
GeneralRe: overlaying image on a video file Pin
Christian Graus29-Apr-07 10:51
protectorChristian Graus29-Apr-07 10:51 
QuestionUnsafe code Pin
xibeifeijian28-Apr-07 15:54
xibeifeijian28-Apr-07 15:54 
AnswerRe: Unsafe code Pin
Christian Graus28-Apr-07 16:50
protectorChristian Graus28-Apr-07 16:50 
GeneralRe: Unsafe code Pin
xibeifeijian28-Apr-07 17:12
xibeifeijian28-Apr-07 17:12 
GeneralRe: Unsafe code Pin
Arun.Immanuel28-Apr-07 17:14
Arun.Immanuel28-Apr-07 17:14 
GeneralRe: Unsafe code Pin
Christian Graus28-Apr-07 17:44
protectorChristian Graus28-Apr-07 17:44 
GeneralRe: Unsafe code Pin
Arun.Immanuel28-Apr-07 17:48
Arun.Immanuel28-Apr-07 17:48 
AnswerRe: Unsafe code Pin
Luc Pattyn28-Apr-07 22:38
sitebuilderLuc Pattyn28-Apr-07 22:38 
GeneralRe: Unsafe code Pin
Christian Graus29-Apr-07 0:39
protectorChristian Graus29-Apr-07 0:39 
AnswerRe: Unsafe code Pin
Guffa29-Apr-07 1:10
Guffa29-Apr-07 1:10 
QuestionSyntax highlighting textbox Pin
Adobe200728-Apr-07 15:33
Adobe200728-Apr-07 15:33 

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.