You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
message loop
About this tag
The message loop is a core concept in Windows programming, referring to the continuous cycle that retrieves and dispatches messages from a thread's message queue. In the Windows API, functions like PeekMessage and GetMessage are used to process messages such as keyboard input or window events. Discussions on WindowsForum.com cover practical issues with message loops, including stalling the loop when filtering messages incorrectly, handling modeless dialog boxes, and integrating message loops with credential providers. Developers often need to ensure the message loop runs efficiently to prevent UI freezes or unexpected behavior, especially when combining custom loops with standard Windows messaging.
I have solved the problem! When the AI Bot told me that I was stalling the message loop, I looked deeper. In the original code I was calling PeekMessage() with PM_REMOVE, filtering for WM_KEYDOWN, and then checking for VK_ESCAPE. This consumed the WM_KEYDOWN message but not any other messages...
background
border drawing
c++
control handling
device context
error handling
event
gdi
graphics
messageloop
opengl
paint handling
rich edit
static control
user interface
window procedure
window resizing
windows api
wm_paint
Hello,
I am a software developer and I encounter a LogonUI problem on Windows 7 when I use a credential provider in particular conditions.
I have modified the SampleHardwareEventCredentialProvider sample of the RTMCredentialProviderSamples__FINAL archive (Link Removed).
The original sample...
asynchronous
credential provider
credentials list
debugging
developer support
dynamic updates
error handling
logonui
messageloop
performance issues
programming
remote reboot
rtmcredential
sample code
software development
system freeze
user interface
windows 7