-
A strange problem with modeless dialog boxes
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...- Alex Sokolek
- Thread
- build release debugging dialog box error handling file operations file system hashing memory issues memory management message loop modeless progress updates software optimization timer user interface visual studio vk_escape windows api wm_keydown
- Replies: 6
- Forum: Windows Software
-
F
Windows 11 Drawing a border and background color with a handle to a window.
``` #include <Windows.h> #include <Richedit.h> HWND hwnd; HWND panel; HWND richEdit; WNDPROC oldStaticProc; int WINAPI WinMain(HINSTANCE, HINSTANCE, PSTR, int); LRESULT CALLBACK WindowProcedure(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); LRESULT CALLBACK StaticProc(HWND hwnd, UINT...- famatto
- Thread
- background border drawing c++ control handling device context error handling event gdi graphics message loop opengl paint handling rich edit static control user interface window procedure window resizing windows api wm_paint
- Replies: 1
- Forum: Programming and Scripting
-
V
Windows 7 Credential Provider problem on Windows 7
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...- valaiden
- Thread
- asynchronous credential provider credentials list debugging developer support dynamic updates error handling logonui message loop performance issues programming remote reboot rtmcredential sample code software development system freeze user interface windows 7
- Replies: 1
- Forum: Programming and Scripting