Questions tagged [findwindowex]
38 questions
0
votes
2 answers
VB6 / WinAPI: How can I get the hwnd of a ListView.ListItem?
I have a VB6 application with a ListView (MSCOMCTL.OCX). I need to get the window handle (hwnd) for a listviewitem, or preferably (if something like that exists) - of a specific subitem.
I know I can get the handle for the column headers using…

user884248
- 2,134
- 3
- 32
- 57
0
votes
2 answers
Set control text for WPF application
I have a WPF application with two text box controls on a splash screen.
Now I need to set some text in this textboxes. Normally I would find control window with FindWindowEx and call SetWindowText, but the problem is that I can't see any windows…

incognito
- 457
- 5
- 19
0
votes
1 answer
How do I capture two textboxes that have no caption and the same class?
So, I'm trying to capture a window which has 2 textboxes and send some text to both these textboxes. But both textboxes have no caption and the same class name "Edit". So far all I am able to do is capture the first textbox and thats it.
Pasted…

Jayesh Surendran Menon
- 75
- 1
- 12
0
votes
0 answers
how run "RUN-command" in windowsAPI
I working now with WINAPI and I try to run the app "RUN-command"
I tried to do FINDWINDOW / FINDWINDOWEX but it does not make sense because the program "RUN" is not working yet.
How to open the "Run-command"?

Koren Leven
- 11
- 3
0
votes
0 answers
SendMessage BM_CLICK on application button
Hey all im a little confused as the effect of this BM_CLICK issue.
Here is my code:
Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Integer, ByVal Msg As Integer, ByVal wParam As Integer,…

StealthRT
- 10,108
- 40
- 183
- 342
0
votes
2 answers
How to find and close a Window within the application
I've run in the following problem:
I've developed a C# application which in one part uses the webbrowser control.
Under certain circumstances the webbrowser control opens a Window titled "File Download - Security Warning".
My question is: How can I…
0
votes
1 answer
SendMessage stuck after button click
Strange issue I can't put my finger on.
Search for the main window, then I search for the button control with the caption "Start".
After it finds start and sends the button click, it just sits and never gets past that so I never see "Leaving loop"…

Tsukasa
- 6,342
- 16
- 64
- 96
-4
votes
2 answers
Calling delegates without arguments in VB.NET
While translating the code below to VB.NET, I stumbled into a roadblock.
My problem is: in C# my delegates are called without arguments as an argument itself. How does one do that in VB.NET? All the online and offline translator can't translate all…

ElektroStudios
- 19,105
- 33
- 200
- 417