Questions tagged [findwindowex]

38 questions
1
vote
1 answer

How to get the list of controls from the window in Visual C++?

How to get the list of the controls from the window, specified by "FindWindow" function? For example I have a handle to the Notepad window by HWND Window = FindWindow(L"Notepad", L"dummy.txt - Notepad"); then I can make a handle to an "Edit"…
user3754079
  • 21
  • 1
  • 5
1
vote
1 answer

findwindowEX tricky external program

Hey all i am trying to figure out how to get all the way down where it says: Window 00211286 "" QWidget Highlighted in green is what i am trying to find with the code below: Currently i have this: Private Declare Function FindWindow Lib…
StealthRT
  • 10,108
  • 40
  • 183
  • 342
1
vote
1 answer

FindwindowEx googlechrome WinAPI C#

I trying to look for the file opened in Google Chrome that found in the Taskbar in the function FindWindowEx. And that's what I made,help me to fixed the mistakes cause I dont understand how to do it. bool show = true; const int SW_HIDE =…
1
vote
0 answers

How to use FindWindowEx to find image button

I'm trying to use the Windows API SendMessage to find and click a button. It currently works when the Windows form has a standard button with text, but not when the button is in the form of an image with no text. hwndChild =…
First Second
  • 117
  • 2
  • 2
  • 10
1
vote
1 answer

Why doesn't FindWindowEx find all my buttons?

I'm supposed to write an automatic Installer. Just a programme you start and it should go through the installation wizard all by itself, without the user touching anything. The programme I'm working on at the moment is called Cygwin. And what I want…
1
vote
1 answer

FindWindow FindWindowEx

I have written a program that is to find a box in another program and set focus to it. Once this is done it will sendkeys and save to this box. I am using Findwindow and FindwindowEx to locate the box, but I have a bit of an issue. if you notice…
user1946138
  • 13
  • 1
  • 1
  • 3
1
vote
2 answers

Finding a MessageBox in a specific app?

We have implemented a solution to give our internal users a nag message that they need to redeploy our application. We are using the filesystem watcher to monitor the network and look for a change in a specific file which has worked very well. Most…
coding4fun
  • 8,038
  • 13
  • 58
  • 85
0
votes
0 answers

FindWindowEx Fails on Premium UWP apps

FindWindowEx fails on getting a visible window from a premium WUP app. I am wondering how do I work around this? My get all windows method works on other non premium WUP apps but not premium as the package owner belongs to Microsoft and not the end…
0
votes
0 answers

Getting textbox from window in mdi client

I am trying to read textbox value from another form application, so far everything has been successful, I did tests on the an notepad app, problems started when I want to get a value from the textbox which is part of the mdi client. My code…
0
votes
0 answers

Powershell and WinAPI. FindWindowEx doesn't find handle of Start Button in Windows 10

I want to execute WinAPI commands from Powershell, e.g. press button on the WPF form, the Start button hides and shows Create this code in powershell 5 Add-Type -AssemblyName PresentationFramework [xml]$xaml = @"
0
votes
0 answers

VBA program to press a button (e.g 3) in microsoft calculator without using sendkeys

Will a kind soul help to provide a vba solution to press a button (e.g 3) in Microsoft calculator without using sendkeys? Please pardon my bad work as i am new, I believe i am stuck because the windows are not unique. If anyone has a solution to…
0
votes
1 answer

VB.NET - I can't manage this window - Win32 - FindWindowEx

I trying to select a window in system process but it returns nothing. Here is the window I'm trying to get: What's wrong with the code below? Sub Find_Window Dim Profit As Integer = Win32.FindWindow(Nothing, "ProfitPro - 5.0.0.35 -…
0
votes
0 answers

Get all text from another C# winform application

I'm trying to write an C# application to get all Text from another C# winform application. The text that I want to get is Button's text, Textbox's text content, Lable's text, etc. I have tried many different ways such as using UIAutomation,…
0
votes
1 answer

Findwindowex by handle c#

I have been struggling with this for quite a while and could not get any answer I understand. I am new to c#. So I am launching an application (Accpac to be specific) then I need to send the username via sendkeys/sendmessage to a child window. …
Wilest
  • 1,820
  • 7
  • 36
  • 62
0
votes
1 answer

Putty FindwindowEx "Edit" Childwindows

I am trying to use API FindwindowEx to input an IP address inside the Putty textbox. I know the textbox window is call "Edit", problem is there are three "Edit" Window in the Putty parent window. Is there a way to separate the three "Edit"…
Alenhj
  • 109
  • 1
  • 2
  • 12