Print Page | Close Window

PopupControl WM_PAINT message

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=6270
Printed Date: 30 January 2025 at 9:39am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: PopupControl WM_PAINT message
Posted By: afekhar
Subject: PopupControl WM_PAINT message
Date Posted: 30 January 2007 at 1:00pm
When I create a popup control I don't receive WM_PAINT message anymore on the parent window (m_hWnd below).  Can anyone tell me what causes such behaviors ?  (I use WTL)

    if (!SUCCEEDED(AtlAxCreateControlEx(
        OLESTR("Codejock.PopupControl.10.4"),
        m_hWnd,
        NULL,
        NULL,
        &spIUnknown,
        __uuidof(_DPopupControlEvents), NULL)))
    {
        MessageBox(_T("Create Control Codejock.PopupControl failed!"));
        return FALSE;
    }

Thx in advance.




Replies:
Posted By: Oleg
Date Posted: 31 January 2007 at 1:30am
Hi,
 
After you call it, WTL create ActiveX to all size of frame. Just create another window for popupcontrol.


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


Posted By: afekhar
Date Posted: 31 January 2007 at 4:11am
Thx :-)



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