winapi tag

16 questions


3 answers
401 views
0
I want to handle SendInput in the console app.

I am worried that SendInput is not working.The environment is VisualStudio 2022, the C# console app, and .Net 7.0.In addition to referring to the following HP, I created it while looking at the SendIn...

1 years ago

1 answers
355 views
0
Why is the device context blank when I minimize the browser and restore it to its original size?

Contents of questionsPaste your browser's device context into the upper left corner of your desktop in the following program:Initially, it appears, but once you minimize the browser, restore it to...

2 years ago

2 answers
122 views
0
SendMessage WM_GETTEXT and WM_GETTEXTLENGTH have significantly different characters

while(true) {//<=Actually some condition /* Some action, but hwnd text is not fiddled with on the code side */ // hwnd<- Handle of interest varsb = new StruingBuilder(); var length = SendMessage...

2 years ago

1 answers
103 views
0
If I cancel the shutdown, does the IME undetermined string disappear?

You can block the shutdown by calling ShutdownBlockReasonCreate() and returning FALSE to WM_QUERYENDSESSION, but when you cancel the shutdown, the IME undetermined string no longer appears in the bloc...

2 years ago

1 answers
145 views
0
About SendInput in Lock Screen

Create a resident application and press the Num key in SendInput while locking the Windows screen.The NumLock LED on the keyboard does not change when simulated.(Windows doesn't seem to recognize it.)...

2 years ago

1 answers
97 views
0
WinAPI cannot send text to RGUI

Thank you for your help.We are creating an app that sends command text to the GUI version of the statistics and analysis environment R in Windows 7.I succeeded in obtaining RGUI's parent window handle...

2 years ago

2 answers
148 views
0
I want to send a SendMessage to the desktop app with Windows locked.

During the Windows lock screen, the USB connection remote control operation is triggered.I want to send a SendMessage with mouse click to the appropriate button on my desktop appI am thinking that *It...

2 years ago

1 answers
148 views
0
How to get window messages received by other applications

Thank you for your help.Could you help me with the subject matter?I am currently creating an application in VB.NET.Launch another application B (e.g., .cmd.exe) in Process.start from the application A...

2 years ago

1 answers
120 views
0
I want to do RPA in VBA, so please give me a hint.

Using SendInput, SendMessage, FindWindow, etc. from Windows API user32, I am thinking of copying from Excel to several text boxes in other application software in VBA.However, ①Paste occurs even if th...

2 years ago

2 answers
83 views
0
Behavior of Layered Window Size Changes

I'm studying win32 api.You are trying to create a window with a variable transparent size.Transparency was achieved by specifying WS_EX_LAYERED as the style in the CreateWindowEx function, but if you ...

2 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.