473,657 Members | 2,496 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ShowInTaskbar problem

vdraceil
236 New Member
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=vbm aximized
caption=""
controlbox=fals e
clipcontrols=fa lse
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,t hen 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 1797
lotus18
866 Contributor
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 Recognized Expert Top Contributor
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 Recognized Expert Top Contributor
Hi,

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

Regards
Veena
Apr 12 '08 #4
lotus18
866 Contributor
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
1315
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 by setting ..ShowInTaskBar to true, and setting .Owner to false. The other buttons click event reverses, this by setting .Owner to the form1 instance, and .ShowIntTaskBar to false. This all works fine, with Form2appearing in the taskbar and...
2
1824
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? do i use the "RightJustifyInTaskbar" property? TIA!
2
7185
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 bar when it was open on the desktop so set ShowInTaskbar to true when the form was unhidden. Unfortunately the application fell over with an "unable to get window handle" error. Am I able to set this property after initialization?
0
1925
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 activate window taskbar hide show. I do a testing that a form have 2 button and 1 label text. 1 button is showintaskbar=true, another is showintaskbar=false, label text is for MouseLeave and MouseEnter event to change color. I noted that the...
2
1867
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 the program if the user clicks the full screen option when a video file is playing (it doesn't happen when playing music), this happens on several PCs and serveral applications including new projects. Has anyone else come accross this and is...
3
1498
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 taskbar. I was doing ShowInTaskbar = False - and someone here told me that wouldn't work because the browser control was ActiveX still and that ShowIOnTaskbar = false actually destroyed the window. So, I tried 2.0 Beta and the same thing happens...
0
1800
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 program(it would minimize to tray before you call it), I found it doesn't work. Finally I found the statement which cause it: this.ShowInTaskbar = false; Though I wrote "ShowInTaskbar = true" later in the program, but hotkey didn't work...
4
2787
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; this.WindowState = System.Windows.Forms.FormWindowState.Minimized; Upon correct DDE prompt from another application my application should show itself in normal state with an icon in the taskbar.
1
1688
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 toward other applications! But if ShowInTaskbar is false, the process can only send WM!! The final question is following: Is there a way to send and receive messages without having the application on taskbar ?? Excluse for my not perfect...
0
8326
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8743
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8522
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5647
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4333
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2745
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1973
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1736
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.