Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - CXTCaption
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTCaption

 Post Reply Post Reply
Author
Message
Hazelnut View Drop Down
Groupie
Groupie
Avatar

Joined: 22 July 2005
Location: United States
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hazelnut Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.