By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,639 Members | 2,276 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,639 IT Pros & Developers. It's quick & easy.

ShowInTaskbar problem

vdraceil
100+
P: 236
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
Share this Question
Share on Google+
4 Replies


lotus18
100+
P: 866
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
Expert 100+
P: 1,445
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
Expert 100+
P: 1,445
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
100+
P: 866
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

Post your reply

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