Sorry, but as usual, after searching some days to find a solution, writing a question, than the solution fall from the sky in a very short time. I can solve it in the OnSize-Handler with the SetDockSize method. It was a little bit tricky by 1.) Disable Redraw 2.) Enhancing the main view docker to a bigger size (to avoid scrollbars appearing if you reduce the application size) 3.) call the DockFrame::OnSize 4.) Recalulate all my needed docker sizes and set it with SetDockSize 5.) RecalcDockerLayout...
Hello David, I want to have a 3 column docker layout where the main view (which is configured in the mainframe as view) should be in the middle of the window with a fixed size (width) and on the left and right side of the main view are dockers which should scale with both the same factor according to the width of the main view and the application. My problem is, even if I set the dock style for the main view in CMainFrame::OnInitialUpdate to DS_NO_RESIZE, the main view will be always resized if I...
Hello David, thank you, the crash is gone and doesn't appear now. Best regards, Torsten Von: David [mailto:david_nash@users.sourceforge.net] Gesendet: Samstag, 16. Februar 2019 01:42 An: [win32-framework:discussion] Betreff: [win32-framework:discussion] Problem with Ribbon, application crashes at the end Hi Torsten, Thanks for your follow up message, and the additional information you provided. The images you provided confirm that an access violation exception was thrown when a window message was...
Hello David, yes it is an own application but without any own usage of COM. But I have the same problem with the original code from the RibbonDockFrame example (checkout last week), simply compiling it in debug mode, running it in the studio and close it via the ribbon exit or the application exit. I had tried VS 2010 Pro and VS 2015 Pro on a Windows 7 and a Windows 10 system, all combinations crashes (see the screenshots) and removing the Couninitialize will fix it. It is no problem for me to move...
If I use a simple ribbon as in the example I always get an application crash in DebugMode at a normal application end during OnClose. I found out the location in CWnd::Destroy during::DestroyWindow with a not understandable reason. The crash doesn't occur if I remove the Counitialize call in the DestroyRibbon method, so I think, the Counitialize steal some needed parts from the application
I played a little bit with the workaround and found no further problems, here my...
Further analysis say, that the problem is in wxx_dialog.h The standard EDIT inside...
Hi David, I've a problem again, this time with a listview and style LVS_EDITLABELS....