Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How not to let the pane displayed?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How not to let the pane displayed?

 Post Reply Post Reply
Author
Message
freehawk View Drop Down
Groupie
Groupie


Joined: 22 April 2004
Status: Offline
Points: 95
Post Options Post Options   Thanks (0) Thanks(0)   Quote freehawk Quote  Post ReplyReply Direct Link To This Post Topic: How not to let the pane displayed?
    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

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 30 November 2004 at 12:55am

Show me your piece of code where you send strings.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
freehawk View Drop Down
Groupie
Groupie


Joined: 22 April 2004
Status: Offline
Points: 95
Post Options Post Options   Thanks (0) Thanks(0)   Quote freehawk Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 01 December 2004 at 1:42am

So after this code, pane starts expanding? 

 

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
freehawk View Drop Down
Groupie
Groupie


Joined: 22 April 2004
Status: Offline
Points: 95
Post Options Post Options   Thanks (0) Thanks(0)   Quote freehawk Quote  Post ReplyReply Direct Link To This Post 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? 

 

Back to Top
freehawk View Drop Down
Groupie
Groupie


Joined: 22 April 2004
Status: Offline
Points: 95
Post Options Post Options   Thanks (0) Thanks(0)   Quote freehawk Quote  Post ReplyReply Direct Link To This Post 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? 

 

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.