A.D.Tejpal
adtp at touchtelindia.net
Mon Feb 23 11:50:22 CST 2004
My sincere thanks Drew! I shall try it out and let you know. Regards, A.D.Tejpal -------------- ----- Original Message ----- From: DWUTKA at marlow.com To: accessd at databaseadvisors.com Sent: Monday, February 23, 2004 21:27 Subject: RE: [AccessD] Access Form Outside The Application Container - Making It Active Programmatically Try the AlwaysOnTop demo off of my site. Drew (http://www.wolfwares.com) -----Original Message----- From: accessd-bounces at databaseadvisors.com To: Access Developers discussion and problem solving Sent: 2/22/04 11:18 PM Subject: [AccessD] Access Form Outside The Application Container - Making It Active Programmatically 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 --------------