message-loop Questions

4

Solved

I have to write an C# API for registering global hotkeys. To receive the WM_HOTKEY message, I use a System.Windows.Forms.NativeWindow and run an own message loop with System.Windows.Forms.Applicati...
Rashida asked 12/9, 2011 at 18:58

1

Solved

So as the title suggests, I'm trying to use WebBrowser control in a class library. I've gone through several SO questions like this excellent post, but the unique thing in my situation is that the ...
Sadiras asked 14/2, 2014 at 6:50

5

Recently I tried putting a window's message loop in its own thread, and I wondered why it never received any messages, but I have learned that Windows posts messages to the thread that created the ...
Oxtail asked 3/12, 2010 at 16:7

2

Solved

A background-thread can be configured to receive window messages. You would post messages to the thread using PostThreadMessage. What's the correct way to exit that message loop? Background Befor...
Spacial asked 4/5, 2012 at 15:11

2

Solved

While trying to port my game engine to mac, I stumble upon one basic (but big) problem. On windows, my main code looks like this (very simplified): PeekMessage(...) // check for windows messages s...
Juryman asked 11/7, 2011 at 11:51

1

Solved

I recently saw a video about Erlang on InfoQ, In that video one of the creators presented how to replace the behavior of a message loop. He was simply sending a message containing a lambda of the ...
Greenstein asked 3/6, 2010 at 19:1

2

Solved

How does message loops in erlang work, are they sync when it comes to processing messages? As far as I understand, the loop will start by "receive"ing a message and then perform something and hit ...
Nanettenani asked 31/5, 2010 at 11:59
1

© 2022 - 2024 — McMap. All rights reserved.