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

  1. select datawindow control
  2. highlight "other" tab
  3. enter accessiblename
  4. enter accessibledescription
  5. choose accessiblerole (see pb enumerated list of roles)

Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -