473,396 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

WinForm as AppBar

Hallo,

I have a small WinForm. The form must always stay on Top. Such as
Taskbar or Sidebar.

What can I do?

Thanks
Uwe
Feb 28 '08 #1
3 2411
On Feb 28, 10:01*pm, Uwe Gabbert <u...@uwegabbert.dewrote:
Hallo,

I have a small WinForm. The form must always stay on Top. Such as
Taskbar or Sidebar.

What can I do?

Thanks
Uwe
Look at form's "TopMost" property.
Feb 28 '08 #2
Uwe Gabbert schrieb:
I have a small WinForm. The form must always stay on Top. Such as
Taskbar or Sidebar.
Set Form.TopMost = True. To limit the desktops workarea as the taskbar
does use p/invoke SystemParametersInfo + SPI_SETWORKAREA. Before you
do that your form have to be located in the area you want to lock for
other windows, must not be sized or moved after you changed the size
for the workarea.

Thorsten Doerfler
--
Microsoft MVP Visual Basic

vb-hellfire visual basic faq | vb-hellfire - einfach anders
http://vb-faq.de/ | http://www.vb-hellfire.de/
Feb 28 '08 #3
"Uwe Gabbert" <uw*@uwegabbert.deschrieb:
I have a small WinForm. The form must always stay on Top. Such as Taskbar
or Sidebar.
In addition to the other replies, take a look at the 'SHAppBarMessage'
function (p/invoke).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Feb 29 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: bobroq | last post by:
I am currently working on writing an application that functions like a desktop tool bar (like aol - when it has its docking feature turned on, Google Dekstop, or even when you right click your tool...
0
by: Navin Mishra | last post by:
Hi, Is there any example to make an AutoHide AppBar using C#/VB.NET ? Thanks in advance and regards Navin
0
by: gkelly | last post by:
I have an AppBar that works fine, except for one problem. It's stealing focus -The AppBar is written in C# -Access to it is via a COM object -Main app is a C++ app. -Button on app will use...
8
by: Sunil Menon | last post by:
Dear All, We are developing applications in ASP.Net...in one of our applications we would like to use a GridControl...we have tried to use a Server-Side Grid control but found the speed to be an...
0
by: TyBreaker | last post by:
Does anyone know of a VB.NET example of an appbar? I have found a few examples of appbars for VB6 but I'd like a VB.NET example so that it exploits the latest code tricks if any. I've found a C#...
1
by: TyBreaker | last post by:
I have a simple form with a toolstrip on it and some toolstrip buttons. Tooltips work fine. But then I use the ShAppBarMessage API call to register the form as an Application Desktop Toolbar. ...
2
by: jyanmin.fang | last post by:
Hi, In my current project, I need to embed an .NET winform usercontrol in the aspx page (via <Objecttag). This winform usercontrol has an event called DoEvent (void DoEvent()). This winform...
5
by: squishy | last post by:
I want to make an app that can dock to the sides of the desktop and offer auto-hiding. From what I have read, this is called an appbar. Does anyone have any code examples of vb.net created...
14
myusernotyours
by: myusernotyours | last post by:
Hi, Am looking to create an appbar window for linux. Haven't done much linux programming but am ok with c++ and windows. Av managed to do it in windows using the SHAppBarMessage here API function...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.