![]() |
dialog in a docking pane |
Post Reply ![]() |
Author | |
vjedlicka ![]() Senior Member ![]() Joined: 04 September 2007 Status: Offline Points: 122 |
![]() ![]() ![]() ![]() ![]() 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 using this code:
On application end I am getting assertion wincore.cpp line (2655) Thank you
|
|
Thank you
Vaclav --------------------- ToolkitPro 20.1.0 VS2010-2022, Windows 11 |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Think you need CFormView instead.
Anyway check Samples\DockingPane\ActivePaneView sample it has CDialog in Pane.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
vjedlicka ![]() Senior Member ![]() Joined: 04 September 2007 Status: Offline Points: 122 |
![]() ![]() ![]() ![]() ![]() |
fixed by changing dlg properties style: from popup to child
|
|
Thank you
Vaclav --------------------- ToolkitPro 20.1.0 VS2010-2022, Windows 11 |
|
![]() |
|
rajayan ![]() Newbie ![]() Joined: 15 April 2008 Location: United States Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |