RatchetSoft Forum
A Message Board, Guestbook, or Poll hosted for your website.
Register  | Login  |   | New Posts  | Chat
 
Home > Forums > Appspaces and The Ratchet-X Appspace Editor > Old School Delphi desktop app
 
Username:  
Password:  
 
   
 


Thread Tools  | Search This Thread 
Reply
 
Author Comment
 
jimmack1963
Registered: 09/11/09
Posts: 2

    09/11/09 at 05:59 PM
  Reply with quote#1

Old Delphi App doesn't create Default Path with Crosshair (although elements on screen do highlight)

Advanced Path Editor on (Root) starts with fake window that I think Delphi establishes as a placeholder for its apps.  The Client Node does not lead to the actual app.  When I click Parent, I get list of every open app, and can find the desired target.  Clicking in the Nodes window on something that just says -- Window, the details screen shows up correctly. 

Node Details:
Role: Window
Name: BH-HC Pro 1.0 Enterprise - eQuote Unit
Description:
Value:
WindowClass: TfrmMainScreen
State: Sizeable, Moveable, Focusable
Action:
Visible: True
Available: True
Offscreen: False
Selected: False
ReadOnly: False
Checked: False
Path:
(Root)/Parent:/*/Child:/Window[43]

Double clicking on this, which sets a path: (Root)/Parent:/*/Child:/Window[43], leads to a Nodes area with everything grey, a Node Details area of:
Role: Window
Name: M?1
Description:
Value:
WindowClass: MSCTFIME UI
State: Unavailable, Invisible
Action:
Visible: False
Available: False
Offscreen: False
Selected: False
ReadOnly: False
Checked: False
Path:
(Root)/Parent:/*/Child:/Window[43]

and no clear way to go further, even if [43] were a safe indexing mechanism!

Is there any alternative to getting MSAA working in Delphi?  I looked on internet, didn't find much, will continue.  Am willing & able to write code to expose things to your appspace, which we can include with our base app....  Would really like to be able to show something.

Thanks,
Jim
jmack@bhhc.com
jlabbe
Moderator
Registered: 10/03/05
Posts: 19

Contact using MSN

    09/11/09 at 08:51 PM
  Reply with quote#2

Hi Jim:

It sounds like there is a break in the MSAA chain. If you use MSAA Explorer and try to traverse the MSAA tree all the way back to the ulimate parent from the target window, you will probably find a break. This is a fairly common deficiency in old applications. The are several ways to get around this assuming that is the problem.

However, rather than guessing as to what the problem is, let me have a tech support person look at the screen with you on Monday. Together, you can quickly dialognose the problem and suggest alternative paths strategies. I have your contact information and will contact you Monday morning.

Thanks,
Joe
gweihs
Moderator
Registered: 02/07/06
Posts: 6

    09/12/09 at 09:23 AM
  Reply with quote#3

Hi Jim;

It might also be the fact that you are starting from the wrong window.   Using Appspace Editor, you might try to reselect the Window (from Window tab of RegWin) using the Find button.  But this time, uncheck the checkbox that says Main Windows Only.   This will give you a much larger list of windows to review including all windows that are not marked as Main Windows.   Try to find a match for the titlebar text that you see in your target window.  Then try to create a Marker/Snippet again.



__________________
Thanks for using Ratchet-X,

George

gweihs
Moderator
Registered: 02/07/06
Posts: 6

    09/12/09 at 09:28 AM
  Reply with quote#4

Hi Jim;

Its Saturday, but i'm manning the help desk today and its slow.  We will be here until 1pm.   If you are in today and would like some assistance, call me direct at 516 620 1197 X701 up to 1pm EDT.  If not, you can setup a call for monday with Joe via email.

Good Luck

__________________
Thanks for using Ratchet-X,

George

Previous Thread | Next Thread
Reply

  Bookmarks  
Digg Diggdel.icio.us del.icio.usStumbleUpon StumbleUponGoogle Google