Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged winapi

0 votes
1.1k views
1 answer
    I have a window, which I SetWindowPos(window, HWND_TOP, 0, 0, GetSystemMetrics(SM_CXSCREEN), GetSystemMetrics( ... Is there another way? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Given the following code void foo() { INPUT input{}; input.type = INPUT_MOUSE; input.mi.dwFlags = ... perfectly supported by the documentation. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    Is there some event or notification I can receive or hook each time an external LCD monitor is plugged in or ... on monitor hotplug for windows See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
820 views
1 answer
    I'm working on wrapping up the ugly innards of the FindFirstFile/FindNextFile loop (though my question applies ... ); if (fakeData.empty()) { SetLastError(ERROR_PATH_NOT_FOUN...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
936 views
1 answer
    I would like to power cycle an USB device through software on Windows. I am doing development on a small ... SetupAPI tricks that might help? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I'm using libcurl in a Win32 C++ application. I have the curllib.vcproj project added to my solution and ... build it with SSL support enabled? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I wanted to write a c++ code to emulate pressing a keyboard key "A": // Set up a generic keyboard event. ... come from user but from program). See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    What is the difference in calling the Win32 API function that have an A character appended to the end as ... think it answers my question. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
947 views
1 answer
    How do you use DwmGetColorizationColor? The documentation says it returns two values: a 32-bit 0xAARRGGBB containing ... kinds of work into making the lures. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    I'm creating what should be a very simple Win32 C++ app whose sole purpose it to ONLY display a semi- ... window to repaint when the contents under it changes? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    It seems that when a thread is created from within DllMain upon DLL_PROCESS_ATTACH it won't begin until all dll's ... any way to force the thread to start? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
953 views
1 answer
    Is it possible to use overlapped I/O with an anonymous pipe? CreatePipe() does not have any way of ... block, even if I supply an OVERLAPPED-structure. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I need to call some methods in Wininet.dll from a Java program. I can find plenty of tutorials on how ... to an existing, detailed tutorial would be sufficient. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I noticed that in my application, most compatibility problems were caused by 'access denied' for some folders, such as ... . Is this also valid for Windows 7? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Does anyone know if there is an API to get the current monitor state (on or off) in Windows (XP/Vista/2000/ ... of doing this. Anyone else have any other ideas? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I'm trying to use SendMessage to Notepad, so that I can insert written text without making Notepad the active ... . Am I going in the wrong direction? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    How can I use win32 API in Python? What is the best and easiest way to do it? Can you please provide some examples? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
937 views
1 answer
    Closed. This question is opinion-based. It is not currently accepting answers. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    THE PROBLEM: When I grab the resize border of my Windows app, especially the top or left borders, and resize the ... good answer, here, here, here, and here. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I have to create a dialog based application, instead of old CFormView type of design. But CDialog ... create dialog based applications with resizable dialogs? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I'm working on an app that positions windows on the screen in a grid style. When Running this on Windows 10 ... to let me work with the real window coordinates? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I'd like a simple example of exporting a function from a C++ Windows DLL. I'd like to see the header, the .cpp ... answer being that I have to use a *.def file. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    On POSIX systems rename(2) provides for an atomic rename operation, including overwriting of the destination ... Please provide reliable citations if possible. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
983 views
1 answer
    I have to stop windows from going into sleep when my program is running. And I don't only want to prevent ... program behavior but it's only for personal use.) Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    Do you know a smart way to hide or in any other way get rid of the root window that appears, opened ... possible or desirable? Or is there a smarter solution? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    In Windows 8 and Windows 10 before Anniversary update it was possible ... keyboard HKEY_LOCAL_MACHINESOFTWAREMicrosoftTabletTip1.7EnableDesktopModeAutoInvoke=1 Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I know that to receive notifications about Win32 process creation or termination we might implement a NT kernel ... (system wide callback, asynchronous events)? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I'm trying to get the process handle of, say example.exe, so I can call TerminateProcess on it. How can I do ... doesn't have a window so FindWindow won't work. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...