CFormview caption

This is a discussion on CFormview caption within the Windows Programming forums, part of the Platform Specific Boards category; Hi, How do I change the caption in CFormview. I tried changing the caption in the properties dialog put that ...

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    17

    CFormview caption

    Hi,

    How do I change the caption in CFormview. I tried changing the caption in the properties dialog put that selection is grayed.

    Thanks,
    Soutine

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,699
    If you're using document/view architecture, then you use CDocument::SetTitle().

    gg

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    Another solution is UpdateFrameTitleForDocument().

    Kuphryn

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    17

    Thanks

    It works just fine now

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 11-23-2008, 09:09 PM
  2. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 06:23 AM
  3. forcing window repainting after putting back caption
    By underthesun in forum Windows Programming
    Replies: 2
    Last Post: 02-05-2005, 10:13 PM
  4. CDialog VS CFormView
    By axr0284 in forum Windows Programming
    Replies: 3
    Last Post: 02-04-2005, 03:59 PM
  5. Add a caption button to all windows
    By skiingwiz in forum Windows Programming
    Replies: 1
    Last Post: 02-02-2003, 09:40 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21