![]() |
CXTPPopupControl and WS_EX_TOPMOST |
Post Reply ![]() |
Author | |
PierreL ![]() Groupie ![]() ![]() Joined: 01 September 2006 Location: Canada Status: Offline Points: 17 |
![]() ![]() ![]() ![]() ![]() Posted: 01 August 2008 at 12:02am |
Hi Oleg,
The Create was being called in my code but for some reason removing WS_EX_TOPMOST ext. style did not work. It was still displayed as topmost. I ended up overriding the CreateEx instead and I get the result I wanted. Thanks for your reply, Peter |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Just tried same and it works. Set breakpoint in your new Create method to be sure it executed.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
PierreL ![]() Groupie ![]() ![]() Joined: 01 September 2006 Location: Canada Status: Offline Points: 17 |
![]() ![]() ![]() ![]() ![]() |
Hello,
I have a CXTPPopupControl derived class and would like it to stay on top of its parent but not the Topmost window. When its displayed and I move another app in front of my app, this window is displayed on top. Is there an easy way to prevent this? I override the Create and removed the WS_EX_TOPMOST ext. style but this has no effect due to the SetWindowPos call in UpdateState (I think?). Thanks for your help, Peter |
|
![]() |
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 |