473,396 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

toolstrip label not accessible to EnumChildWindows ?

I am trying to scrape text from a toolstrip in c# , I can enumerate all windows on the form no problem and get their text; but I can't get the text back from the toolstrip.

Also when I use a spy tool (spy++ or UiExplorer) it shows me that the toolstriplabel has the same handle as the toolstrip that it sits on. Hence recursively running EnumChildWindows on the toolstrip windows handler yields no results.

Does anyone know why this is?
Jul 9 '12 #1
0 1385

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Ryan Ross | last post by:
Hello, I am having the oddest error with the EnumChildWindows function. Below are the imports, and the methods. public static extern int EnumChildWindows(IntPtr hWndParent, EnumChildProc...
0
by: gene kelley | last post by:
I'm migrating/rewriting one of my VB6 apps to VB2005. In the process, I'm trying to avoid using third party activex controls used in the VB6 project. One of the third party controls in the VB6...
4
by: poppy | last post by:
I am having trouble creating a menu item. The Code I have: private void NewLoad(object sender, System.EventArgs e) { //error here ToolStripItem mn = (ToolStripItem)sender; } The error I...
3
by: John F | last post by:
I have a question about EnumChildWindows(). Currently I'm using this API function to iterate through all the controls in another application. In my call back function I call SendMessage() and...
0
by: Stick | last post by:
I set the ToolTipText property to the web address, and the IsLink property to True, and it worked before, but now when I click on the label, nothing! What am I missing? Patrick
1
by: prithvis.mohanty | last post by:
using System; using System.Drawing; using System.ComponentModel; using System.Windows.Forms; using System.Runtime.InteropServices; using System.Text; using System.Collections; using...
0
by: Martijn Mulder | last post by:
The ToolStrip on top of my form is to small. I want to increase its height. Simply setting the Height-property doesn't change the height, though. So I tried to place the ToolStrip in a...
4
by: NagarajanS | last post by:
Hi, I am developing small windows application.In that i am using toolstrip label.i created a click event for the label.But the problem i need a blink(Highlighting event lik when we click button)...
0
by: Emilio | last post by:
Good morning to everyone, I've tested this "format" od this code to enumerate some controls in a window and it works fine. Private Delegate Function EnumChildProcDelegate _ (ByVal hWnd As...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.