CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Location
    Minnesota, USA
    Posts
    8

    Custom Caption...

    What message do I need to trap in order to control the drawing of the caption buttons? (ie the close, minimize, maximize, etc. in a frame caption)

    Thanks,
    Matt Johnson



  2. #2
    Join Date
    Apr 1999
    Posts
    27,449

    Re: Custom Caption...

    The one's off the top of my head:

    WM_NCACTIVATE
    WM_SETTEXT
    WM_NCPAINT
    WM_SYSCOMMAND
    WM_SYSCOLORCHANGE
    WM_SETTINGCHANGE

    There are possibly more.

    Regards,

    Paul McKenzie


  3. #3
    Join Date
    May 1999
    Location
    Minnesota, USA
    Posts
    8

    Re: Custom Caption...

    WM_SYSCOMMAND was the only was I was missing. That should help a lot. Thanks.

    Matt Johnson


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

Featured