![]() |
Weird artifact when hiding pane |
Post Reply ![]() |
Author | |
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() Posted: 10 February 2009 at 7:08pm |
XTP 13.0.0.
I do this in OnDockingPaneNotify():
case IDR_PANE1:
pPane->Attach(&m_paneEdit);
pPane->Close();
If I clear the pane-settings in the Registry, that operation causes an artifact:
![]() As you can see there is a visible splitter right in the middle of nowhere. I believe this is the top of the closed pane.
Am I doing something wrong or is this a bug?
|
|
PokerMemento - http://www.pokermemento.com/
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
It all depend on code you have :(
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() |
Thought so. What I want to do is this:
Create pane, attach child, and always close (hide?) the pane so it is never visible at startup (no matter what the layout is in the Registry).
Any ideas?
|
|
PokerMemento - http://www.pokermemento.com/
|
|
![]() |
|
mgampi ![]() Senior Member ![]() ![]() Joined: 14 July 2003 Status: Offline Points: 1201 |
![]() ![]() ![]() ![]() ![]() |
Hi;
I do it this way in CMainFrame::OnCreate():
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
![]() |
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 |