Different Form Caption vs Taskbar Text

OSVBNET 1,386 Reputation points
2022-05-24T17:43:15.877+00:00

Hello,
Is there any easy and safe way to set different texts for a Form's Caption Text vs its Taskbar Text?
I want to set a shorter text for the Taskbar, possible?
vb.net + .net fw 4 full profile
Thanks :)

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,568 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jiachen Li-MSFT 26,506 Reputation points Microsoft Vendor
    2022-05-25T01:44:17.013+00:00

    Hi @OSVBNET ,
    It's possible.
    You can choose to hide the original title bar, and then draw a custom title bar yourself.
    In this way, the text of the hidden title bar will be displayed in the taskbar, and the text of the title bar drawn by yourself will be displayed in the form.
    Best Regards.
    Jiachen Li

    ----------

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful