Print Page | Close Window

How not to let the pane displayed?

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=1465
Printed Date: 07 November 2025 at 1:42am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How not to let the pane displayed?
Posted By: freehawk
Subject: How not to let the pane displayed?
Date Posted: 26 November 2004 at 2:49am

Hello

I made a docking pane window. When it is xtpPanedActionPinned, after I send some strings to it, it automaticlly changed to xtpPaneActionExpanded. Now I hope to control it always as xtpPanedActionPinned when sended some strings, How to do?

Thanks.

Freehawk




Replies:
Posted By: Oleg
Date Posted: 30 November 2004 at 12:55am

Show me your piece of code where you send strings.



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


Posted By: freehawk
Date Posted: 30 November 2004 at 7:21pm

On the pane, I put a edit in a dialog. I send some strings with the following source code.

  nBegin = LineIndex(m_nCurrentLineCount-1);
  nChar =  LineLength(nBegin);
  SetSel(nBegin, nBegin);
  
  ReplaceSel((LPCTSTR)(lpTmp));


 nBegin= LineIndex(m_nCurrentLineCount-1);
 nChar =  LineLength(nBegin);
 SetSel(nBegin + nChar,nBegin + nChar);

Originally posted by oleg oleg wrote:

Show me your piece of code where you send strings.



Posted By: Oleg
Date Posted: 01 December 2004 at 1:42am

So after this code, pane starts expanding? 

 



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


Posted By: freehawk
Date Posted: 01 December 2004 at 2:35am

Sorry.

It is my wrong. Because after sent some strings, I called "SelectPane()" .

Thanks.

Originally posted by oleg oleg wrote:

So after this code, pane starts expanding? 

 



Posted By: freehawk
Date Posted: 01 December 2004 at 3:05am

Could you answer my another question about "How to diaplay a popup menu?"? 

Thanks.

Freehawk

Originally posted by oleg oleg wrote:

So after this code, pane starts expanding? 

 




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