Click here to Skip to main content
15,903,175 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralPrinting a DataGrid Pin
Mike Osbahr21-Jul-03 2:53
Mike Osbahr21-Jul-03 2:53 
GeneralDynamic Image in Crystal Reports Pin
D.D. de Kerf21-Jul-03 2:35
D.D. de Kerf21-Jul-03 2:35 
QuestionHow can I do the FindFile using the .Net Framework? Pin
EastDragon20-Jul-03 21:19
EastDragon20-Jul-03 21:19 
AnswerRe: How can I do the FindFile using the .Net Framework? Pin
J. Dunlap20-Jul-03 21:42
J. Dunlap20-Jul-03 21:42 
GeneralLibrary College .NET Platform Pin
antiukdw19-Jul-03 8:28
antiukdw19-Jul-03 8:28 
GeneralRe: Library College .NET Platform Pin
Nick Parker19-Jul-03 8:34
protectorNick Parker19-Jul-03 8:34 
General.NET Windows.Forms programs on Linux Pin
Nathan Brown18-Jul-03 14:03
Nathan Brown18-Jul-03 14:03 
GeneralRe: .NET Windows.Forms programs on Linux Pin
Heath Stewart18-Jul-03 22:26
protectorHeath Stewart18-Jul-03 22:26 
The linux GUI also can't appease the average computer user...but that's another point.

Anyway, the loop to which you're referring is called a message pump. It just picks messages off the queue, gives hooks a chance to process it (and alternatively throw it out or modify it), then sends it down the right chain. And technically, there aren't really events in the Win32 API. Everything comes down to messages, more aptly called notifications. (Events can come from unmanaged code, however, through the CCW from connection points)

How Mono and dotGNU plan on doing it is beyond me. The Windows messaging system is both a blessing and a curse: in many ways, it makes application coding easy since you're handling notifications and don't have to manage a huge set of callbacks. For the same reason, it can also be bad. It's easy to loose messages down the chain if notified parents aren't careful. It's also a pain to port since no other OS (I've seen) works this way.

Frankly, though, I think they could redo System.Windows.Forms.dll without using Windows messaging. Sure, it wouldn't be the assembly from the .NET Framework BCL, but it could still have the same public classes and have it signed by the same key (for which I'm sure they'd have to send it to MS for official signing). Yeah, I know that defeats the purpose, but using a messaging system would be a fundamental change in a lot of libraries!

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: .NET Windows.Forms programs on Linux Pin
Nathan Brown18-Jul-03 22:59
Nathan Brown18-Jul-03 22:59 
GeneralRe: .NET Windows.Forms programs on Linux Pin
Heath Stewart20-Jul-03 5:45
protectorHeath Stewart20-Jul-03 5:45 
GeneralRe: .NET Windows.Forms programs on Linux Pin
igor196021-Jul-03 12:37
igor196021-Jul-03 12:37 
GeneralRe: .NET Windows.Forms programs on Linux Pin
Heath Stewart21-Jul-03 16:57
protectorHeath Stewart21-Jul-03 16:57 
GeneralRe: .NET Windows.Forms programs on Linux Pin
jparsons24-Jul-03 15:10
jparsons24-Jul-03 15:10 
GeneralRe: .NET Windows.Forms programs on Linux Pin
Rocky Moore23-Jul-03 1:51
Rocky Moore23-Jul-03 1:51 
QuestionSingletons: Static ctors or Monitors? Pin
Heath Stewart18-Jul-03 2:56
protectorHeath Stewart18-Jul-03 2:56 
AnswerRe: Singletons: Static ctors or Monitors? Pin
Andy Smith18-Jul-03 11:37
Andy Smith18-Jul-03 11:37 
GeneralRe: Singletons: Static ctors or Monitors? Pin
Heath Stewart18-Jul-03 22:18
protectorHeath Stewart18-Jul-03 22:18 
GeneralRe: Singletons: Static ctors or Monitors? Pin
leppie19-Jul-03 2:10
leppie19-Jul-03 2:10 
GeneralPhotoshop-like toolbox issue Pin
lfsong17-Jul-03 2:32
lfsong17-Jul-03 2:32 
GeneralRe: Photoshop-like toolbox issue Pin
lfsong17-Jul-03 18:20
lfsong17-Jul-03 18:20 
GeneralRe: Photoshop-like toolbox issue Pin
lfsong20-Jul-03 4:02
lfsong20-Jul-03 4:02 
GeneralRe: Photoshop-like toolbox issue Pin
lfsong20-Jul-03 16:06
lfsong20-Jul-03 16:06 
GeneralRe: Photoshop-like toolbox issue Pin
lfsong22-Jul-03 2:29
lfsong22-Jul-03 2:29 
GeneralBuilding A Personal Webserver Pin
jmetcalf16-Jul-03 14:58
jmetcalf16-Jul-03 14:58 
GeneralRe: Building A Personal Webserver Pin
Heath Stewart17-Jul-03 1:25
protectorHeath Stewart17-Jul-03 1:25 

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.