[AccessD] Access Form Outside The Application Container - Making It Active Programmatically

A.D.Tejpal adtp at touchtelindia.net
Sun Feb 22 23:18:20 CST 2004


    This relates to a minimized Access 2000 application, where one of its forms is made to pop up on the desktop via API calls.

    Though everything proceeds as desired, the pop up form itself does not get focus until clicked upon. Following API calls have been tried - but no success in setting focus on the form -

    ShowWindow
    BringWindowToTop
    SetForegroundWindow
    SetActiveWindow
'    SetFocus                     ' Gives Compile Error

    Note - FlashWindow and SetWindowText if tried, do what is expected but the focus gets lost eventually
        
    I shall be thankful for any help in this regard.

Regards,
A.D.Tejpal
--------------



More information about the AccessD mailing list