March 30th, 2011, 08:19 PM
Really a great quote (containing another quote).
A second thought on the steering wheel analogy: This is an obvious example of legacy design. When originally introduced, the steering wheel...
March 30th, 2011, 05:20 PM
If I saw something like that I would first assume the imaginary framework intentionally behaves like this. It is what virtual functions are made for. If I were a member of that framework's design...
March 29th, 2011, 06:30 PM
I just found this blog entry (including comments) that may interest you in this respect: http://blogs.msdn.com/b/oldnewthing/archive/2004/02/03/66660.aspx. It probably won't answer all your questions...
March 27th, 2011, 09:11 PM
Wow! :eek: I had no idea there might be something like a C++/CLI standard. I always somehow presumed it was an MS homegrown thing. However, the document on that ECMA page is only about 15% the size...
March 25th, 2011, 08:41 PM
You could say that. :D
That's because it's not. It's a declaration of a delegate type MouseEventHandler - kind of similar to when you declare a function pointer in C++. (It's declared in the...
March 25th, 2011, 10:12 AM
Fascinating! :cool: I was referring to the MouseEventHandler Delegate page on MSDN when writing this and was apparently mistaken:
But that seems to be wron anyway as I just noticed: The second...
March 24th, 2011, 11:24 PM
Never mind. :) I'm not really reacting in real-time at the time either. Need to catch up with some sleep deficit I accumulated but my attempts in that direction haven't been really effective yet. :o...
March 24th, 2011, 02:06 PM
Yeah, I've already started to really appreciate this aspect of .NET. It doesn't only reduce the risk of certain bugs, it also is really convenient. :) But exactly that can be seen as a disadvantage...
March 24th, 2011, 09:46 AM
The PentagramBox contructor has a parameter of type Control ^ to which the form class passes its this pointer. This is then assigned to the (inherited) PentagramBox::Parent property. MSDN says the...
March 24th, 2011, 07:32 AM
By "is not disposable" you mean "doesn't implement IDiaposable" (neither in the form of a "destructor" nor otherwise), don't you? Of course you're right. The member variables of PentagramBox are only...
March 23rd, 2011, 05:56 PM
This is a spin-off of another thread. I detached it because it was a bit off-topic over there and could be the beginning of another interesting discussion. Also, the original thread has already been...