Print Page | Close Window

My app will crash when pin pane after restart.

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=18514
Printed Date: 04 May 2024 at 7:18am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: My app will crash when pin pane after restart.
Posted By: gOrubby
Subject: My app will crash when pin pane after restart.
Date 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++
   mailto:user32.dll!_InternalCallWinProc@20 - user32.dll!_InternalCallWinProc@20 ()  + 0x28 bytes 
   mailto:user32.dll!_UserCallWinProcCheckWow@32 - user32.dll!_UserCallWinProcCheckWow@32 ()  + 0xb7 bytes 
   mailto:user32.dll!_DispatchClientMessage@20 - user32.dll!_DispatchClientMessage@20 ()  + 0x4d bytes 
   mailto:user32.dll!___fnDWORD@4 - user32.dll!___fnDWORD@4 ()  + 0x24 bytes 
  ntdll.dll!7c90e473()  
   mailto:user32.dll!_NtUserDispatchMessage@4 - user32.dll!_NtUserDispatchMessage@4 ()  + 0xc bytes 
  e87e428e() 
 
It maybe results from handling WM_PAINT message. 
 



Replies:
Posted By: gOrubby
Date Posted: 07 June 2011 at 10:17pm
Sorry but where is my reference sreenshot?


Posted By: Oleg
Date Posted: 08 June 2011 at 5:44am
Hi,

Very hard to suggest something without reproduce sample.


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


Posted By: gOrubby
Date Posted: 08 June 2011 at 9:10pm
This is my screenshot.


Posted By: gOrubby
Date 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?


Posted By: Oleg
Date 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


Posted By: gOrubby
Date Posted: 10 June 2011 at 11:14pm
OK.
 
Sent.



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