Can we get PowerBuilder Pb Data window object using hooking -
i testing powerbuilder application using iaccessible object. not able newly added row pbdatawindow object. possible pbdatawindow object using hooking. can not modify application code , don't have there source code also.
regards, rajendar
you can access datawindow control accessibility properties using iaccessible need set in code (ide) or in run-time. suspect case windows application uses accessibility unless language sets default accessibility properties when aren't explicitly provided.
if don't have access source code forced @ microsoft windows 'window class names' handle objects challenging not mention name of object might not consistent across various instances of application in memory.
for looking use accessibility , have access source code, how set. can set these many different object types , columns within datawindow object.
assumption: datawindow control named, "dw_invoice".
setting accessible properties dynamically @ runtime
dw_invoice.accessiblename = 'invoicedatawindow" dw_invoice.accessibledescription = "the current invoice" dw_invoice.accessiblerole = defaultrole!
setting accessible properties in development ide
- select datawindow control
- highlight "other" tab
- enter accessiblename
- enter accessibledescription
- choose accessiblerole (see pb enumerated list of roles)
Comments
Post a Comment