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
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 ;)