Category : api

How can I determine if a RECT area inside of my window is covered by other windows (occluded). I mean, if the user can see this RECT area or not? I could not find the right answer to this question. In fact, I should define a function with a signature like this bool isWindowPartVisible(HWND handle, ..

Read more

I want ask some questions about Win Api. (C++) [At first, I initialize some arrays which makes 6 rects, and move it to left using OffsetRect function. I want to make, if the coordinates of the last rect reach a certain point (for example, rc.right < -100), I want it to be constantly regenerated. But ..

Read more

I am trying to toggle the keyboard layout from QWERTY to Hangul programmatically in a Qt C++/QML program on Windows 10. The following code to toggle the Caps Lock key works: #include "Windows.h" … ::keybd_event( VK_CAPITAL, 0x45, KEYEVENTF_EXTENDEDKEY, 0 ); ::keybd_event( VK_CAPITAL, 0x45, KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP, 0 ); However, when I try with: ::keybd_event( VK_HANGUL, ..

Read more

I wanted to pass the following C++ source_code in paiza.io API. Here is the link for you to check out – PAIZA.IO API. #include<bits/stdc++.h> using namespace std; int main() { cout<<"Hellon"; } After running the session, when I want to get the details it shows the following error:- Please help me to find the correct ..

Read more