Print Page | Close Window

CXTPPopupControl not displayed when main dlg close

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=11975
Printed Date: 15 September 2025 at 1:20am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPPopupControl not displayed when main dlg close
Posted By: pshpan
Subject: CXTPPopupControl not displayed when main dlg close
Date 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:)



Replies:
Posted By: Oleg
Date 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


Posted By: pshpan
Date 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.


Posted By: pshpan
Date 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?



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