![]() |
Weird artifact when hiding pane |
Post Reply
|
| Author | |
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
Topic: Weird artifact when hiding panePosted: 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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 February 2009 at 4:41am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 February 2009 at 5:03am |
|
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: 1210 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 February 2009 at 5:17am |
|
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 |