Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Shortcut Bar
  New Posts New Posts RSS Feed - Problem whith ShortcutCaption
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem whith ShortcutCaption

 Post Reply Post Reply
Author
Message
martinchik View Drop Down
Newbie
Newbie
Avatar

Joined: 16 May 2006
Location: Belarus
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote martinchik Quote  Post ReplyReply Direct Link To This Post Topic: Problem whith ShortcutCaption
    Posted: 16 May 2006 at 10:00am
Can you tell me about how get hWnd in XtremeShortcutBar::ShortcutCaption ActiveX control, please.

BOOL CCaptionControlOCX::Create(LPCTSTR lpszWindowName,
        DWORD dwStyle, const RECT& rect, CWnd* pParentWnd,
        UINT nID, CFile* pPersist, BOOL bStorage,
        BSTR bstrLicKey)
{
    BOOL bRes = FALSE;

     bRes = CreateControl( __uuidof(  XtremeShortcutBar::ShortcutCaption ), lpszWindowName, dwStyle, rect, pParentWnd, nID,
        pPersist, bStorage, bstrLicKey);

    m_pControl = GetControlUnknown();

    //this->m_hWnd == NULL !!!!!!!!!!!!!!

    return bRes;
}

Thank you!

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 2006 at 11:21am

Hi,

ShortcutCaption is windowless control.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
martinchik View Drop Down
Newbie
Newbie
Avatar

Joined: 16 May 2006
Location: Belarus
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote martinchik Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 2006 at 11:56am
Thank you!
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.141 seconds.