Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

keeping an access pop up on top of an ie

Status
Not open for further replies.

ChrisNome

IS-IT--Management
Mar 22, 2011
47
US
Hi everyone,

I have a problem with an API I'm using. I have an access pop-up form that I want to always be on top of an internet explorer. I'm using the following API:


but I cannot get the access pop-up to stay always above the ie instance. The user can scroll the ie with the access pop up still on top, i also want the user to be able to move the pop up window around and as soon as it's activated it brings the whole access application in front of the ie.

I deduced that this is because the access application window owns the pop up and is activated with it, thus bringing it to the top of the Z order. So I tried to make both the pop up and the ie top most. This worked in keeping the ie on top of the application object but doesn't work in keeping the pop up on top of the ie. After both are made top most it appears that they both stay on top of everything and whichever one is activated then is on top.

any ideas, i just need this access form to always be on top of the ie
 
i guess a way to reframe this question is to ask when the event happens that brings the access application in front of the internet explorer. Clicking on the pop up doesn't shift the window order, clicking IN the comboboxes doesn't change the window order. Clickingon on the top of the pop-up where the form name is and/or moving it does (that's the problem), clicking on the combobox arrow does.

Then I could feasibly reset the ie back to HWND_TOP (right below topmost according to that article) at that event or on one right after it...

 
alright so the popup is set to be made topmost on it's on open propery. I thought i might be able to get the result by placing the main access app at the bottom of the z order as the form loads so created a button that sets the access.application.hwndAccessApp to HWND_BOTTOM. The result is the edges of the access window change color like it's trying to do something and can't. It doesn't make sense cause the main access application window is not topmost. As soon as you click ie, ie is on top of the main window and the pop up is on top of ie, how i want it to be..

don't everyone chime in at once haha

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top