![]() |
CXTPPopupControl not displayed when main dlg close |
Post Reply ![]() |
Author | |
pshpan ![]() Newbie ![]() Joined: 26 August 2008 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() 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:) |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
What parameter do you have in Show method ? try just use NULL.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
pshpan ![]() Newbie ![]() Joined: 26 August 2008 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
|
pshpan ![]() Newbie ![]() Joined: 26 August 2008 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
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? |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |