Print Page | Close Window

dialog in a docking pane

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=9231
Printed Date: 18 July 2025 at 9:42pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: dialog in a docking pane
Posted By: vjedlicka
Subject: dialog in a docking pane
Date Posted: 06 January 2008 at 11:11am

Hello,

What is the correct way of embedding a dialog in a docking pane?

I create the dialog in
LRESULT CMainFrame::OnDockingPaneNotify(WPARAM wParam, LPARAM lParam)

using this code:
case IDS_PANE_PICS:
 
 if (!m_wndDlgPics->GetSafeHwnd())
 {
  UINT li_template = IDD_DLG_PIC;
  m_wndDlgPics->Create(li_template);
 }
 pPane->Attach(m_wndDlgPics);
 break;

 

On application end I am getting assertion

wincore.cpp line (2655)
I am using VS 6.0

Thank you
Vaclav

 



-------------
Thank you
Vaclav
---------------------
ToolkitPro 20.1.0
VS2010-2022, Windows 11



Replies:
Posted By: Oleg
Date Posted: 06 January 2008 at 2:25pm
Hi,
Think you need CFormView instead.
 
Anyway check Samples\DockingPane\ActivePaneView  sample it has CDialog in Pane.


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


Posted By: vjedlicka
Date Posted: 09 January 2008 at 4:56pm

fixed by changing dlg properties

style: from popup to child
border: from none to resizing

 



-------------
Thank you
Vaclav
---------------------
ToolkitPro 20.1.0
VS2010-2022, Windows 11


Posted By: rajayan
Date Posted: 16 April 2008 at 11:00am

Hi,

Am facing a very similar issue where I get a ASSERT from WinCore.cpp file Line 2655. I have been able to track this to the closure of a progress bar dialog (style - popup, border - dialog frame) which we display whenever a lengthy operation is happening. But this ASSERT doesn't come everytime. It comes very very rarely. But it does.
 
I have been trying to track this for allmost a yr now but unfortunately am not able to. I then came across this post.
 
I have to stay with the WM_POPUP style and cant make this a child dialog to someone.
 
Is there any particular setting I should look into??
 
Rajdeep



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