ShowInTaskbar problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vdraceil
    New Member
    • Jul 2007
    • 236

    ShowInTaskbar problem

    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..
  • lotus18
    Contributor
    • Nov 2007
    • 865

    #2
    If I got your question, here's the algo:

    Code:
     If the form_maximized=true then
       Hide the title bar
    Else
       Show the title bar

    Comment

    • QVeen72
      Recognized Expert Top Contributor
      • Oct 2006
      • 1445

      #3
      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

      Comment

      • QVeen72
        Recognized Expert Top Contributor
        • Oct 2006
        • 1445

        #4
        Hi,

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

        Regards
        Veena

        Comment

        • lotus18
          Contributor
          • Nov 2007
          • 865

          #5
          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

          Comment

          Working...