Search found 17 matches

by sgreenfield
Mon Mar 16, 2009 12:31 pm
Forum: Automation API
Topic: How to determine / select tabs at runtime
Replies: 5
Views: 3176

Alex:

As always, thanks for the quick and accurate reply.
by sgreenfield
Mon Mar 16, 2009 1:41 am
Forum: Automation API
Topic: How to determine / select tabs at runtime
Replies: 5
Views: 3176

How to determine / select tabs at runtime

I must be missing something - not sure how to determine at runtime just what tabs in a SysTabCtrl32 exist and how to select them either by name or index. Can you give an example?
by sgreenfield
Wed Nov 26, 2008 3:30 pm
Forum: Automation API
Topic: How to get reference to a panel in Statusbar
Replies: 10
Views: 4395

Actually, that's what I did - the array is empty yet Spy shows everything. That's why I was at a loss to figure it out. I'm truly stumped.
by sgreenfield
Wed Nov 26, 2008 2:02 pm
Forum: Automation API
Topic: How to get reference to a panel in Statusbar
Replies: 10
Views: 4395

Not sure if you saw my last post but am I missing something?
by sgreenfield
Tue Nov 25, 2008 6:24 pm
Forum: Automation API
Topic: How to get reference to a panel in Statusbar
Replies: 10
Views: 4395

I changed the line of code to this: RX.Element[] textElements = sb.Element.FindChildren(RX.Role.ListItem); If I look at the text property for this statusbar (sb), I see the text for the first panel ("For Help, press F1"), but given the code you supplied I still get nothing in the array. I must be mi...
by sgreenfield
Mon Nov 24, 2008 8:24 pm
Forum: Automation API
Topic: How to get reference to a panel in Statusbar
Replies: 10
Views: 4395

Another interesting tidbit - the following line of code: int nChildCount = ctlStatusBar.Element.GetChildCount; I used this to see just how many elements Ranorex saw and that came back 7 when there are actually 12. Five of the strings are owner drawn colorized text or graphics images so I think my la...
by sgreenfield
Mon Nov 24, 2008 8:05 pm
Forum: Automation API
Topic: How to get reference to a panel in Statusbar
Replies: 10
Views: 4395

I should add one more piece of information - the statusbar has some owner-drawn objects in it. They show up using Spy as garbage buffers but I do see the correct number of items and for the items using pure text, that is visible in spy as well.

Stumped.
by sgreenfield
Mon Nov 24, 2008 8:02 pm
Forum: Automation API
Topic: How to get reference to a panel in Statusbar
Replies: 10
Views: 4395

I tried your suggestion - I verified that the hwnd is the correct for the statusbar and the object in non-null yet the 'textElements' array based on your code has nothing in it. Any ideas??? IntPtr hwndStatus = GetMainPlatformWindow().FindStatusBar(59393).Handle; if (null != hwndStatus) { RX.StatusB...
by sgreenfield
Mon Nov 24, 2008 2:32 pm
Forum: Automation API
Topic: How to get reference to a panel in Statusbar
Replies: 10
Views: 4395

How to get reference to a panel in Statusbar

I have the handle to the window in question but I don't see how to extract the text from individual panels in a msctls_statusbar32 control. Can you show an example?
by sgreenfield
Mon Nov 17, 2008 1:09 pm
Forum: General Questions
Topic: Extending Preview
Replies: 3
Views: 2889

I was using 1.5 but I assume 2.0 will be fine. Thanks for the reply; you guys are good.
by sgreenfield
Sat Nov 15, 2008 1:21 pm
Forum: General Questions
Topic: Extending Preview
Replies: 3
Views: 2889

Extending Preview

I wanted to know what we can do to extend our preview? I was trying to work on a demo of the product for my company but work got in the way and I've run out of time. We're using QTP (and I HATE it).

Ranorex seems to work so much better but I need to prove that.

Can anyone help?
by sgreenfield
Mon Oct 27, 2008 6:21 pm
Forum: Automation API
Topic: How to reference the instance of an object
Replies: 2
Views: 2981

Thanks - I found that a while after posting but I have to say I'm impressed with how fast you guys reply and how good the information posted is. Just wanted to say thank you and well done. Rare to see these days.
by sgreenfield
Sun Oct 26, 2008 11:44 am
Forum: Automation API
Topic: How to reference the instance of an object
Replies: 2
Views: 2981

How to reference the instance of an object

Our software runs on multiple monitors. How can I reference multiple instances of the same windows via the instance ID? (at least, that's what I assume you're showing in Spy at the end of the Class Name). I thought maybe you internally tacked on the #1, #2, etc to the class name - tried that, but I ...
by sgreenfield
Sun Oct 26, 2008 11:39 am
Forum: Bug Reports
Topic: Intellisense stops working after exception
Replies: 6
Views: 3059

At this point, no new steps. Sorry - I'll keep you posted if I figure it out though.
by sgreenfield
Fri Oct 17, 2008 4:28 pm
Forum: Bug Reports
Topic: Intellisense stops working after exception
Replies: 6
Views: 3059

This is v1.5.1. Not sure what other information I can supply to help you - I'll have to play around and see if there is something special to try. I've moved to VS2008 and that is fine so, I'll keep working that way with the demo.