Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPPopupControl not displayed when main dlg close
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPPopupControl not displayed when main dlg close

 Post Reply Post Reply
Author
Message
pshpan View Drop Down
Newbie
Newbie


Joined: 26 August 2008
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote pshpan Quote  Post ReplyReply Direct Link To This Post Topic: CXTPPopupControl not displayed when main dlg close
    Posted: 26 August 2008 at 10:38am
I used CXTPPopupControl to popup messages received .

In my CSystemTray class,which app has a systemtray with menus.
If I open a dialog, there is no problem to popup.but without dialogs opening,it just dosen't work.

Could any one poit out what is the keypoint?Sorry for my poor English:)
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 26 August 2008 at 11:42am
Hi,
What parameter do you have in Show method ? try just use NULL.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
pshpan View Drop Down
Newbie
Newbie


Joined: 26 August 2008
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote pshpan Quote  Post ReplyReply Direct Link To This Post Posted: 26 August 2008 at 12:15pm
just copy from the sample popup controls,with methon of SetMSNTheme().
Is there anything special with this  control,like wnd?

Maybe it is about the messagemap ,but all the code did run up,just without display.

Really thanks:)

It's deep night  in China now,maybe  I'd better go and have a nice sleep,tomorrow may be better.
Back to Top
pshpan View Drop Down
Newbie
Newbie


Joined: 26 August 2008
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote pshpan Quote  Post ReplyReply Direct Link To This Post Posted: 29 August 2008 at 2:36am
Maybe the problem was in argument of Show.
The code is like this:
      if(m_pActivePopup->Show(FromHandle(hWnd)))
...
      if window  hWnd pointed to was unvisible or hide,will there come an error?
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.035 seconds.