473,385 Members | 1,693 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,385 software developers and data experts.

ShowInTaskbar problem

vdraceil
236 100+
Hi everyone..
I wanted to give my form a fullscreen view(without the title bar),so i set the following properties of the form,
windowstate=vbmaximized
caption=""
controlbox=false
clipcontrols=false
I did hav a fullscreen view when i ran the prog..
but when the user minimizes the form by pressing Alt+Tab,the form minimizes and only the icon of the form can be seen in the taskbar..(i have set the form's ShowInTaskbar property=true)
but i need to show some text along with the icon in the taskbar..
if i change the caption property=text,then the title bar appears.

What am i supposed to do when i want to give my form a fullscreen view,as well as a caption(which must be shown to the user only when the form is minimized)..

Hope i'm clear in explaining my point..pls help vb programmers..
Apr 12 '08 #1
4 1789
lotus18
866 512MB
If I got your question, here's the algo:

Expand|Select|Wrap|Line Numbers
  1.  If the form_maximized=true then
  2.    Hide the title bar
  3. Else
  4.    Show the title bar
Apr 12 '08 #2
QVeen72
1,445 Expert 1GB
Hi Lotus,

The Form is Not Minimized, it is maximised, but the control has been shifted to another window..
so that algo cannot be used..

Regards
Veena
Apr 12 '08 #3
QVeen72
1,445 Expert 1GB
Hi,

You need to get the Active Window and Set the Caption..
Check this link:
http://support.microsoft.com/kb/69792

Regards
Veena
Apr 12 '08 #4
lotus18
866 512MB
Oh yes, I'm sorry. LOL. I've made a mistake. Pressing an Alt + Tab on the keyboard does not minimizes the form. This makes the selected window to becomes an active.

Rey Sean
Apr 12 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: ptass | last post by:
I have a main form (Form1) which opens a second form (Form2) when a button is clicked. Form2 has .FormBorderStyle set to FixedSingle. Form2 contains two buttons, one which unpins it from Form1...
2
by: WoodBeeProgrammer | last post by:
i have a bunch of icons located to the right of my ShowInTaskbar windows and to the left of my status tray icons. they do stuff like microphone, speech tools, ime etc. how do they get there? ...
2
by: Claire | last post by:
Ive an application that usually runs in the taskbar. ShowInTaskbar is set to false during InitializeComponent. It works fine. However, I decided that i'd like the application to show in the task...
0
by: Machi | last post by:
I am using C#.NET. API version showintaskbar form Window taskbar hide show not fire events MouseLeave and MouseEnter! Now i am facing a critical problem for MouseLeave and MouseEnter event when i...
2
by: Darren | last post by:
After several postings and a lot of messing around I have found that when changing the ShowInTaskbar option of the form the player starts to resize itself when a file is played. It also crashes...
3
by: Mitchell Vincent | last post by:
I can't find the post now but several months back I posted a problem I was having using the WebBrowser control when trying to have a systray icon pop back up a window that hadn't been shown in the...
0
by: yasker | last post by:
I register a hotkey following this article: http://www.dotnet2themax.com/ShowContent.aspx?ID=103cca7a-0323-47eb-b210-c2bb7075ba78 Using windows api to archive it. But when I use it as a part of my...
4
by: Mike | last post by:
I have a winforms application that is hidden using the following code upon prompt: //Remove from the taskbar and also from alt+tab this.Visible = false; this.ShowInTaskbar = false;...
1
by: afavretto | last post by:
Why if my WindowsForm has ShowInTaskbar to "False", the process isn't able to receive wMsg of type 0x4A from other processes ??? If ShowInTaskbar is true, my process can send and receive WMessages...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.