Print Page | Close Window

SetFloatingFramesOpacity bug

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=4766
Printed Date: 22 November 2024 at 1:40am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SetFloatingFramesOpacity bug
Posted By: ABuenger
Subject: SetFloatingFramesOpacity bug
Date Posted: 09 August 2006 at 8:03am
If the panes are not opaque and you click on a panes title all other panes are hidden but you can still dock the pane to the other invisible panes.
 
Also I would like to be able to set the opacity individualy for the panes.
 


-------------
Codejock support



Replies:
Posted By: ABuenger
Date Posted: 09 August 2006 at 9:54am
Problem occurs in the DynamicPanes sample if you add m_paneManager.SetFloatingFramesOpacity (254); (or less) to CMainFrame::OnCreate.
 
The problem doesn't occur in my app, but I still would like to set the opacity for each pane individually.
 


-------------
Codejock support


Posted By: ABuenger
Date Posted: 13 August 2006 at 7:11am
If you have a larger transparent pane and it looses the focus you can see that it turns black before beeing transparent


-------------
Codejock support


Posted By: ABuenger
Date Posted: 15 August 2006 at 4:31am
Could you add a SetFloatingFrameOpacity method to the CXTPDockingPane class, where -1 (default) means the setting from the pane manager should be used?
 
So the current behavior isn't changed and the opacity could be set individually for each pane.
 


-------------
Codejock support


Posted By: Oleg
Date Posted: 15 August 2006 at 10:12am

"If the panes are not opaque and you click on a panes title all other panes are hidden but you can still dock the pane to the other invisible panes. "

 
Can you give more details... Where is problem? You can dock to panes that in AutoHide mode?


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


Posted By: ABuenger
Date Posted: 15 August 2006 at 10:23am
In the DynamicPanes sample of 10.30 I've added the following line:
 
 
Then run the app and create some panes and undock them:
 
 
If you then move any pane all other floating panes are hidden, but you can still dock the pane to them:
 
 
 
That is the bug I've found, but please don't forget my feature request. I've different types of panes and I only want to have some transparent, but some not. If you implement it the way I suggested above you won't break any existing code.


-------------
Codejock support


Posted By: Oleg
Date Posted: 15 August 2006 at 11:02am
Hi,
Is it Windows 2000? What sp?


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


Posted By: Oleg
Date Posted: 15 August 2006 at 11:03am
Hi again,
To prevent this problem suggest you use Alpha docking contrext if you use Opacity....


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


Posted By: ABuenger
Date Posted: 15 August 2006 at 11:54am
And what about the individual opacity for the panes?

-------------
Codejock support


Posted By: Oleg
Date Posted: 15 August 2006 at 1:05pm
don't know....dont' know... Will make some virtual functions to allow override.
 
How it must work if 2 panes with different opacity docked in same  floating window... which opacity choose?


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


Posted By: ABuenger
Date Posted: 15 August 2006 at 1:10pm
Originally posted by oleg oleg wrote:

How it must work if 2 panes with different opacity docked in same  floating window... which opacity choose?
 
I'd say the opacity from the pane that is currently active should be used.
 


-------------
Codejock support


Posted By: Sander74
Date Posted: 09 October 2006 at 5:30am
Originally posted by ABuenger ABuenger wrote:

If you have a larger transparent pane and it looses the focus you can see that it turns black before beeing transparent


I couldn't find an official reply to this, so I just wanted to mention that I'm running into the same thing. I'd be very interested in any info.

Floating panes briefly turn all black when their transparency is turned on.

Reproduce: add the line m_paneManager.SetFloatingFramesOpacity(200) to the PaneSample sample. Run it, make one of the panes floating, and then restart the application. The floating pane will turn black for a second before the attached child window has a chance to draw itself.

You can also set a breakpoint at the end of CXTPDockingPaneMiniWnd::OnNcPaint to see the black pane clearly. I traced it back to DrawFloatingFrame; for some reason the use of double-buffering (CXTPBufferDC) causes a problem when the frame window has the WS_EX_LAYERED style.


Posted By: ABuenger
Date Posted: 29 November 2006 at 5:01pm
Was this fixed in 10.4?

Will it be possible to set the opacity individually?



-------------
Codejock support


Posted By: ABuenger
Date Posted: 04 January 2007 at 11:52am
5 month later, same bugs, no individual opacity.

Could we get a word from Codejock?



-------------
Codejock support


Posted By: Tomasz
Date Posted: 31 October 2010 at 7:30am
Are these problems solved now and is individual opacity feature available?



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