About this tag
The winapi tag on WindowsForum.com covers discussions about the Windows API (WinAPI) for native Windows application development. Topics include troubleshooting specific WinAPI functions like PeekMessage() and WM_KEYDOWN message handling, as well as general usage of WinAPI and MFC in C/C++ programming with Visual Studio. Users share code snippets, seek help with message loops and multithreading, and discuss best practices for Windows program development. The tag is relevant for developers working with low-level Windows APIs, message processing, and thread synchronization.
-
Windows 11 PeekMessage() not returning WM_KEYDOWN message
Hi. I'm having trouble with PeekMessage(). I use PeekMessage() in a loop inside my WM_PAINT procedure to consume messages generated during a long computation process, and to allow the user to abort the process by pressing ESCAPE. Here is a snippet of my code... ... Create several threads to do...- Alex Sokolek
- Thread
- c++ winapi
- Replies: 4
- Forum: Programming and Scripting
-
New user query
Hi. I'm a retired computer/electronics engineer with 45 years of experience supporting Windows, Unix, Oracle, and networks of hand-held computers. I write straight C/C++, mostly using the WinAPI, but also MFC. I dabble with Visual Studio writing Windows programs, and I would like to share them...- Alex Sokolek
- Thread
- c programming c++ community electronics experience hand-held computers mfc network programming programs q&a sharing ideas software development support user query visual studio winapi
- Replies: 4
- Forum: Windows Software