|  | 
| CXTCaption | 
| Post Reply   | 
| Author | |
| Hazelnut   Groupie     Joined: 22 July 2005 Location: United States Status: Offline Points: 18 |  Post Options  Thanks(0)  Quote  Reply  Topic: CXTCaption Posted: 06 October 2009 at 11:36pm | 
| 
   How can I create a Caption on an SDI application that does not have a splitter window? The application uses ListViews in a TabControl. The following is from the sample, I've tried various values for 'm_wndSplitter' without success - this, GetParent, etc. if (!m_wndCaption.Create(&m_wndSplitter, _T("Caption Text"), CPWS_EX_RAISED_EDGE, WS_VISIBLE|SS_CENTER|SS_CENTERIMAGE, CRect(0,0,0,0), m_wndSplitter.IdFromRowCol(0, 0))) { TRACE0("Failed to caption window.\n"); return -1; } Thank you for any help. Paul | |
|  | |
| Post Reply   | |
| Tweet | 
| Forum Jump | Forum Permissions  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |