Results 1 to 5 of 5

Thread: Show App in Taskbar w/ No Control Box

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Location
    Birmingham, AL
    Posts
    1,276
    I set my Border Style to None and Control Box to False.
    However, I want to see my Icon and Form Caption on the taskbar. Does anyone know of a way to do this?
    (App.TaskVisible = True doesn't work)


  2. #2
    Lively Member iataman's Avatar
    Join Date
    Jun 2000
    Location
    Turkey
    Posts
    71
    ControlBox property is about the little "_" and "x" buttons
    which you use for minimizing , maximizing and closing so they've got nothing to do with taskbar.

    All you should do is to turn the ShowInTaskbar property of your Form to True.

    By this way you can see the caption of your form in the taskbar, but no icon is seen due to a form with no
    border has no icon either.


    While YourAge<=40
    Live(YourLife)
    Wend

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Location
    Birmingham, AL
    Posts
    1,276
    No, you don't understand! Setting a caption makes the blue title bar appear on my form. I DO NOT want to see this on my form. If you set the border to 'Fixed Single' you get it in the taskbar but no icon.

    I WANT TO SEE THE ICON AND A TITLE IN THE TASKBAR, BUT I DO NOT WANT TO SEE THE BLUE CAPTION BAR ON MY FORM.
    Understand now?

    Anyone else who can help will be appreciated.

  4. #4
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    hmm.. take it easy mate, you seem a bit frustrated, but please, don't get mad at him, he was only trying to help!

    I don't know if it's even possible in pure VB, you might need the api.

    Look at http://www.mvps.org/vbnet/, I think they have some code to redraw the caption
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Location
    Birmingham, AL
    Posts
    1,276

    Talking

    iataman:
    Setting the control box property does effect whether or not your icon shows on the form caption and hence the taskbar.

    Jop:
    I'm not angry, mate. He didn't understand the question. I like the web site. Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width