I\'m trying to make a simple little tool that would allow a user to switch from normal operation to a mode where all application messages are disabled and they can use the mouse to do some freehand dr
I didn\'t know. just saw it in my debug window a BOOLEAN from STORAGE_DEVICE_DESCRIPTOR wasresolving to 2 instea开发者_运维技巧d of of 1. I got panicked thinking 2 means false. then I realized its 1 f
In C++ is it possible to convert a \'const wch开发者_开发知识库ar_t *\' to \'unsigned char *\'?
I am looking for a Win32 API call to return the runtime context of my process. I want to be able to programmatically test if I am running as a service or am I running as standard application process.
My program needs to gracefully terminate when a Windows event becomes signaled. I am using Boost\'s ASIO library for it\'s sockets. I 开发者_如何学编程only have one io_service object. How can I \'regi
I have a ActiveX control written in Delphi 6 which handles WM_QUERYENDSESSION message to pop up a message box to let users to save changes before开发者_如何学编程 shutting down windows.
I\'d like 开发者_Go百科to create an overlappedwindow that starts out visible (so the taskbar button shows) but minimized.Creating the window with WS_MINIMZED (or WS_MAXIMIZE for that matter) does noth
I\'m implementing drag-and-drop in my application.I\'m having a problem with Windows Explorer not releasing my IDataObject after a drag-and-drop operation.To isolate the problem, I\'ve implemented a v
is it possible to detect which keys are used for a system volume开发者_开发知识库 accelerator in win32 using c++? For example: if the user presses fn + key up (and this is also the key combination to
The following is quoted from the \"Security improvements\" section of th开发者_JAVA百科is article.