CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2005
    Posts
    218

    TITLEBARINFO and GetTitleBarInfo()

    Hi,
    I can't get TITLEBARINFO and GetTitleBarInfo() compiled. Same problem as in http://www.codeguru.com/forum/showth...ettitlebarinfo

    I use it like this:
    Code:
    TITLEBARINFO pti;
    			m_pDialog->GetTitleBarInfo(&pti);
    I found this problem on several forums, but found no real solution why this is happening. This is a strange problem. Can anyone help me?

    timv
    Last edited by timv; August 24th, 2005 at 07:37 AM.

  2. #2
    Join Date
    Jul 2005
    Location
    Russian Federation. Moscow
    Posts
    152

    Smile Re: TITLEBARINFO and GetTitleBarInfo()

    Quote Originally Posted by MSDN
    cbSize
    Specifies the size, in bytes, of the structure. The caller must set this to sizeof(TITLEBARINFO).
    as described above:
    Code:
    TITLEBARINFO pti;
    pti.cbSize = sizeof(TITLEBARINFO);
    VERIFY(m_pDialog->GetTitleBarInfo(&pti));
    you'r welcome
    Best regards, Alex Dronov
    Let the poster of the answers know when they helped you: Click "Rate this post!

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