Results 1 to 3 of 3

Thread: How To Change TitleBar Button Caption

  1. #1

    Thread Starter
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Arrow How To Change TitleBar Button Caption

    I want to change the caption of Minimize button of the titlebar. I've searched the forum and Google but found only examples of adding new buttons.

    I guess the caption of Minimize button is the character 0 of Marlett font. My idea was to send it a WM_SETTEXT, but I can't find any way to get that button's handle.

    Please help me to :

    (a) Find the titlebar buttons' handle.
    (b) Change the caption of the button.

    Thanks.
    Last edited by iPrank; Dec 5th, 2005 at 07:10 AM.

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: How To Change TitleBar Button Caption

    There's no caption - it's drawn as a resource.

  3. #3

    Thread Starter
    PoorPoster iPrank's Avatar
    Join Date
    Oct 2005
    Location
    In a black hole
    Posts
    2,729

    Re: How To Change TitleBar Button Caption

    Quote Originally Posted by penagate
    There's no caption - it's drawn as a resource.
    Then there may be a way to draw on the button's dc ?
    Could you please give me any idea to get the button's dc ?

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