Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - My app will crash when pin pane after restart.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

My app will crash when pin pane after restart.

 Post Reply Post Reply
Author
Message
gOrubby View Drop Down
Newbie
Newbie


Joined: 07 June 2011
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote gOrubby Quote  Post ReplyReply Direct Link To This Post Topic: My app will crash when pin pane after restart.
    Posted: 07 June 2011 at 10:00pm
I am using tookit pro 10.4.2.
 
My app is a MFC MDI app. And it has two panes on the left.  First hide both of them by clicking auto hide pin button.  Then close my app and restart it. Then hover mouse over the pane tab so that the pane is displayed and then try to pin the pane. As soon as the pin is clicked, it will shows as below picture, and often my app will crash after this.  I have tried to search some help on our forum. I also tried  add  "cs.style |= WS_CLIPCHILDREN|WS_CLIPSIBLINGS; " in all of my frames and views. But it didn't work.  
 PS: It works OK if I don't restart my app.
 
Debut informations:
Call Static:
  ToolkitPro1042vc90UD.dll!012078c8()  
  [Frames below may be incorrect and/or missing, no symbols loaded for ToolkitPro1042vc90UD.dll] 
  ToolkitPro1042vc90UD.dll!0120795b()  
  ToolkitPro1042vc90UD.dll!01201299()  
> mfc90ud.dll!CWnd::OnWndMsg(unsigned int message=15, unsigned int wParam=0, long lParam=0, long * pResult=0x0012fc08)  Line 2042 C++
  mfc90ud.dll!CWnd::WindowProc(unsigned int message=15, unsigned int wParam=0, long lParam=0)  Line 1755 + 0x20 bytes C++
  mfc90ud.dll!AfxCallWndProc(CWnd * pWnd=0x0745e1b8, HWND__ * hWnd=0x00500ec2, unsigned int nMsg=15, unsigned int wParam=0, long lParam=0)  Line 240 + 0x1c bytes C++
  mfc90ud.dll!AfxWndProc(HWND__ * hWnd=0x00500ec2, unsigned int nMsg=15, unsigned int wParam=0, long lParam=0)  Line 403 C++
  mfc90ud.dll!AfxWndProcBase(HWND__ * hWnd=0x00500ec2, unsigned int nMsg=15, unsigned int wParam=0, long lParam=0)  Line 441 + 0x15 bytes C++
  user32.dll!_InternalCallWinProc@20()  + 0x28 bytes 
  user32.dll!_UserCallWinProcCheckWow@32()  + 0xb7 bytes 
  user32.dll!_DispatchClientMessage@20()  + 0x4d bytes 
  user32.dll!___fnDWORD@4()  + 0x24 bytes 
  ntdll.dll!7c90e473()  
  user32.dll!_NtUserDispatchMessage@4()  + 0xc bytes 
  e87e428e() 
 
It maybe results from handling WM_PAINT message. 
 
Back to Top
gOrubby View Drop Down
Newbie
Newbie


Joined: 07 June 2011
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote gOrubby Quote  Post ReplyReply Direct Link To This Post Posted: 07 June 2011 at 10:17pm
Sorry but where is my reference sreenshot?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 08 June 2011 at 5:44am
Hi,

Very hard to suggest something without reproduce sample.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
gOrubby View Drop Down
Newbie
Newbie


Joined: 07 June 2011
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote gOrubby Quote  Post ReplyReply Direct Link To This Post Posted: 08 June 2011 at 9:10pm
This is my screenshot.
Back to Top
gOrubby View Drop Down
Newbie
Newbie


Joined: 07 June 2011
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote gOrubby Quote  Post ReplyReply Direct Link To This Post Posted: 09 June 2011 at 9:51pm

why there is a strange bar over the pane. and the bar can be resized as it is a dialog box.

any help?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 10 June 2011 at 2:37am
it can be only some part of your code. Send mainfrm.cpp to support@codejock.com
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
gOrubby View Drop Down
Newbie
Newbie


Joined: 07 June 2011
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote gOrubby Quote  Post ReplyReply Direct Link To This Post Posted: 10 June 2011 at 11:14pm
OK.
 
Sent.
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.203 seconds.