winapi
Putting an image inside an combobox (right-hand edge) in Delphi/Win32
I want draw a an image inside an combobox (right-hand edge) in Delphi/Win32. The combobox has the style csDropDown. This doesn\'t work with csOwnerDrawFixed or csOwnerDrawVariable.[详细]
2023-04-12 13:10 分类:问答VC++ Compiler Can't Catch HANDLE and PHANDLE Type Mismatch
I spent a whole day looking for a bug caused by wrongly passing Windows PHANDLE type to a functi开发者_如何学Con expecting HANDLE!!!I was expecting the VC++ 2010 compiler to catch such a simple and ob[详细]
2023-04-12 13:08 分类:问答Save/Open Common Dialog boxes in win32 without MFC
How do you create the deafault Save/Open dialog boxes using pure unmanaged Win32 API ? Following the guide here, the following code is executed when WM_CREATE message is handled in the message loop of[详细]
2023-04-12 12:39 分类:问答Options for Windows service communication
I\'m developing a service which will run as System and will process long-running tasks in the background. I now need to display some feedback to the user in the form of a tasktray icon and I would als[详细]
2023-04-12 12:00 分类:问答extract file HANDLE from Windows file descriptor or from FILE*
Is it possible to extract file HANDLE f开发者_如何学CromWindows file descriptor or from FILE* ?[详细]
2023-04-12 10:06 分类:问答Using callback functions in vbscript
I\'m trying to make an u开发者_如何学运维pdate script for windows7 in vbscript when invoking IUpdateSearcher::BeginSearch how do I pass the callback to ISearchCompletedCallback::Invoke Method?[详细]
2023-04-12 09:30 分类:问答How to keep thread on processor till an event happens?
I am spawning few threads inside ioctl call to my driver. I开发者_如何学JAVA am also assigning kernel affinity to my driver. I want to ensure one of the thread does not get scheduled out till a partic[详细]
2023-04-12 09:11 分类:问答Events for the border of a form?
I want to know when the user has the mouse over the border of a form. I also want to be able to know if its the top/bottom or left/right border.[详细]
2023-04-12 08:38 分类:问答How to minimize to system tray in C
How can I minimize my app to the system tra开发者_如何学运维y as soon as it starts in C? I am new to C.[详细]
2023-04-12 07:32 分类:问答What is the meaning of the Port Number parameter in Window's ATL Winsock wrapper CSocketAddr::FindINET4Addr
Is it the UDP port used to send out the DNS request, e.g. 53?Or can a host name like example.com have a different IP address resolution based off the specific port being used, e.g. example.com port 80[详细]
2023-04-12 06:28 分类:问答