Print Page | Close Window

Urgent..Making Floating pane as Topmost window

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=6312
Printed Date: 12 November 2025 at 5:09am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Urgent..Making Floating pane as Topmost window
Posted By: babumohan
Subject: Urgent..Making Floating pane as Topmost window
Date Posted: 03 February 2007 at 3:23pm
 I would like to give the scenario
  • I have created two floating pane with Application window as parent
  • Using an option of the menu bar of  first floating pane i required to  set/reset the  latter floating pane as  topmost window and vice versa.
I am using the following code to create both the windows

CWnd::CreateEx(WS_EX_CONTROLPARENT, strWndClass, _T(""), WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | WS_CLIPSIBLINGS, CRect(), pParentWnd, 0);

How can I dynamically set and reset  the topmost window property for the second floating pane using the menu option of first floating pane.(I required this feature within an application

I will be grateful if you can send the code than Ideas.
Awaiting your immediate reply
Thanks And Regards




-------------
Babs



Replies:
Posted By: Oleg
Date Posted: 04 February 2007 at 1:34am
Hello,
Are you talking about DockingPanes?
If so.
1. Create custom Floating Pane window. (See Samples\DockingPane\DockingContainers)
2. dynamically change WS_EX_TOPMOST style.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: babumohan
Date Posted: 04 February 2007 at 11:57am
Hi I tried with the code. But the window is displaying on the top of all windows.
 I would like to make it as the topmost window with respect to the application. Not to the OS.


-------------
Babs


Posted By: Oleg
Date Posted: 05 February 2007 at 1:35am
Hi,
There is no such style...


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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