Results 1 to 3 of 3

Thread: Icon in Taskbar

  1. #1

    Thread Starter
    Fanatic Member coox's Avatar
    Join Date
    Oct 1999
    Posts
    550
    Right, I don't want my form to have a title bar/control box, but I DO want to see the Icon and prog name in the Taskbar. Someone already told me to use SetWindowText API which puts any text you want into the button in the taskbar (which works perfect loike), but how can I put an Icon in there too?

    Yerrrall beautiful

  2. #2
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    You Don't need APIs to do it, Use the Form's Caption Property to set the Text and its Icon property to set the icon. They're both in the properties window.

  3. #3

    Thread Starter
    Fanatic Member coox's Avatar
    Join Date
    Oct 1999
    Posts
    550
    Sam, I know that bit - but I don't want the form to have a title bar at the top, so I set the Caption to nothing, and ControlBox to false, but then when you run your app, you get an empty button in the taskbar, so I use SetWindowText to put some text in that empty box, and I'd like to be able to put an Icon in there too...

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