How identify all controls in chart when it arranged superimpose? - testing

I have developed,Coded UI support for my control(Chart).My Control contains collection of controls.These are arranged on the top of another.
For example,I have add chart area and series (series present top of the area).
When recording, click the chart area but coded ui doesn't identify that control it should give a message for "click series custom control".
So how can I identify each control?

What I understand is the control you are clicking is probably not exposed to UIA. You said you added UIA support for Chart, but did you add support for the type of your controls in your collection of controls?
Btw, a simple way of seeing if a control can be identified by UIA is using the Inspect tool. You can find the tool under your SDK installation (mine for example is under: C:\Program Files (x86)\Windows Kits\8.1\bin\x64), or search for msdn inspect.exe to download from MS.

Related

VBA draw a box on another application

I'm writing an implementation of the windows UI automation client in VBA and that's going pretty well. But I would like to be able to draw a simple box around the UI element of another window. I'm aware of the inspect.exe application, but was wanting to recreate some of its functionality in VBA for instances where company policy restrictions prevent me from installing any 3rd party applications. Code I've written myself can be copy and pasted from a paste bin account.
Is there something in the windows API or a reference I can import that I could use to draw a box on top of another screen at specific coordinates for a second or two? I'm trying to limit this project to just things that come with an out of the box windows installation.

The “Navigtionmenu” control is not showing up in the Toolbox in a .NET project VS2010 and 2012

Why The “Navigtionmenu” control is not showing up in the Toolbox in a .NET project VS2010 and 2012?
but why did the screenshot I got from google below appear toolbox "NavigtionMenu"?
Thanks
jack
I just did a search here for "navigationmenu" and got no relevant matches, so I don't think that such a control even exists. Given the generic icon in that screenshot, it's probably a third-party control or even second-party, i.e. created by the person who posted that screenshot. In fact, I think that that is the icon that used to denote a user control and is still used for a user control in the Add New Item dialogue. I suggest that you check that link you found and see whether it includes instructions for creating it.

Taking screenshot from Petrel child windows

Is it possible to take screenshot of Petrel's child windows (programmatically) from the plugin using Ocean 2014.1? At the moment, I can save BMP for Window3D and EMF for other derives of ToggleWindow and read them again from my plugin, but, this doesn't work for all Petrel's child windows. Also, I would prefer to get raster image (like what I get when I push on Camera button action in Clipboard action group, Home tab) and support other windows like Histogram Window, Plot Window, etc.
Unfortunately I don't think Ocean has a common API that does what you want.
As you found out, some windows have methods that allow you to capture an Image dump of the window, but it is far from being generic.

Dynamic JFreechart

I have a project where I read values from a file. I'd like to create a Dynamic chart where the user will have the ability to choose sections of the graphs and these sections will zoom - in in order to see the results. This functionality is similar to what the Excel does.
For example in the initial graph the user is able to see the graph of the whole year but I'd like to be able to zoom in and to see the graph of a specific day in the same panel,labelm frame.
Is it possible to be done via JFreechart???
In the Java Web Start demo, most examples have zooming enabled. To zoom, right-click to see the context menu, click and drag a selection or use the mouse wheel. TimeSeriesChartDemo1, found in org.jfree.chart.demo, is a good starting point.

How do I add buttons to Aero Peek in VB6?

I'm working on a program that can play songs off an iPod. I want to be able to put functional Back, Play/Pause and Next buttons on its Aero Peek thumbnail like this:
For those who can't see it: http://i45.tinypic.com/1yua0m.png
How would I do this in VB6?
EDIT: Can I also create a jump list for my app? For this app, I only need taskbar jump lists. For others, I'll need taskbar and start menu jump lists so posting code to achieve both would be appreciated.
EDIT 2: I have uploaded a sample of how to use the ITaskBarList3 interface to add buttons to the window preview (and handle their click events), add an icon overlay, clip the window preview and add a progress bar to the program's taskbutton. Download it here.
Look at the Taskbar Thumbnail Toolbar feature of Windows Explorer. This does use a COM interface so I don't know how practical it is to use for VB but I beliver the IDLs are available if you look.
You can also find a C# example and the UI guidelines on MSDN.
The Jumplist information is also covered on the same pages.