Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - PopupControl WM_PAINT message
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

PopupControl WM_PAINT message

 Post Reply Post Reply
Author
Message
afekhar View Drop Down
Groupie
Groupie


Joined: 30 August 2006
Location: France
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote afekhar Quote  Post ReplyReply Direct Link To This Post Topic: PopupControl WM_PAINT message
    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.

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: 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
Back to Top
afekhar View Drop Down
Groupie
Groupie


Joined: 30 August 2006
Location: France
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote afekhar Quote  Post ReplyReply Direct Link To This Post Posted: 31 January 2007 at 4:11am
Thx :-)
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.156 seconds.