Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Visual Basic (http://www.programmingforums.org/forum18.html)
-   -   Force VB Application to bottom....??? (http://www.programmingforums.org/showthread.php?t=15162)

Syntax_Error Feb 11th, 2008 7:26 PM

Force VB Application to bottom....???
 
Anyway to make a VB app sit on the bottom. For example if I clicked on it, it wouldn't overlap my other open program.

I want to do this because it shows information about a program that hovers over it... (winamp) ... but when i click on it on accident, I don't want it to show over winamp, I'd like winamp to stay ontop.

anyway to do that?

tierro Feb 23rd, 2008 4:42 AM

Re: Force VB Application to bottom....???
 
Sounds like a cool program. I understand, your program knows where winamp is located. You could make a big transparent hole where winamp is located, so it is on top, but still shows winamp.

Good luck :)

Ooble Feb 23rd, 2008 7:03 AM

Re: Force VB Application to bottom....???
 
But then you'd have to forward clicks on your program to Winamp. Starts getting complicated.

A bit of Googling found this:
:

FormName.ZOrder 1

Stick that in your Form Activation method, and possibly a couple other methods. Obviously, change FormName. Should sort things out.


All times are GMT -5. The time now is 4:46 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC