SetWindowText to work in Access 2007

  • Thread starter Thread starter AlexML
  • Start date Start date
A

AlexML

Any idea on how to get SetWindowText to work in ACC2007?
Call to that API always gets overlaid with whatever is in the Application
Title property. Also, I do not want to use syscmd obj..

Dim INSTANCE_CAPTION As String
INSTANCE_CAPTION = "test_caption"
call SetWindowText(Application.hWndAccessApp, INSTANCE_CAPTION)

Intefrestingly that FindWindow(vbNullString, INSTANCE_CAPTION & vbNullString)
returns the value for INSTANCE_CAPTION.. For some reason the caption are of
access main window is overlaid with some other object handle..
 
Back
Top