Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 290
  • Last Modified:

Setting Taskbar Caption, but not form Caption. How?

I have a MDI form that has no caption -- the problem is when minimized, the taskbar shows just the icon and not the name of the application.  How can I set the taskbar app caption without setting the form caption?
0
VBDesigns
Asked:
VBDesigns
1 Solution
 
watyCommented:
in the Resize event add this :

   If Me.WindowState = vbMinimized Then
      Me.Caption = "Your Caption"
   Else
      Me.Caption = ""
   End If
0
 
VBDesignsAuthor Commented:
That did it!  I thought there'd be too much flickering or some other issues with having to reset the style bits over and over again, but apparently, it does well!

Thansk!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now