Print Page | Close Window

Problem whith ShortcutCaption

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Shortcut Bar
Forum Description: Topics Related to Codejock Shortcut Bar
URL: http://forum.codejock.com/forum_posts.asp?TID=4221
Printed Date: 02 June 2024 at 6:38am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problem whith ShortcutCaption
Posted By: martinchik
Subject: Problem whith ShortcutCaption
Date 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!




Replies:
Posted By: Oleg
Date Posted: 17 May 2006 at 11:21am

Hi,

ShortcutCaption is windowless control.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: martinchik
Date Posted: 17 May 2006 at 11:56am
Thank you!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net