Boblysan

Boblysan

  • NA
  • 66
  • 0

APPBAR class... could really use some help...

Feb 18 2005 1:56 PM
Hey Folks, I have a small windows form application where the main form is derived from my C# APPBAR class. This is the same APPBAR class that you can find out on Microsoft's .MSDN site. I am going crazy trying to figure out how to successfully work with the auto-hide and always on top functions so they work correctly. Problem 1: If you set the autohide prpperty to true, this works provided that the focus NEVER moves from the main application to some other program. As soon as focus changes to another form within this application or the user clicks on another running application, moving the mouse to the edge of the screen no longer shows the app. Problem 2: If I set the AlwaysOnTop function to true (within the APPBAR class) the application constantly puts itself in the back ground. Upon launch, it falls to the backgroudn. Upon dragging the form / moving, it drops to the background.. I have also tried to set the form property in .NET environment to TopMost and that makes no difference. Any assistance would be VERY much appreciated. Thank you all, Bob