Print Page | Close Window

Paint Trouble with Panes, ...

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=4228
Printed Date: 10 November 2025 at 3:41pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Paint Trouble with Panes, ...
Posted By: jimmy
Subject: Paint Trouble with Panes, ...
Date Posted: 17 May 2006 at 8:04am
Hello,

I've some apint trouble, if a workerthread change some on the panes.
On the gui i press a online button. This button send a cmd to a workerthread. after short time the workerthread send with SendMessage that online is ok. in the Receive function a other pane will be show
CMainFrame::ShowPane(int nID)
{
 CXTPDockingPane *pWndPane = GetDockingPaneManager()->FindPane(nID);

if (pWndPane)
  GetDockingPaneManager()->ShowPane(pWndPane);
}

before worker thread send ok , a toolbar button is pressed an open a modal dialog.
after dialog is open there are this paint problem.

also we can show a other pane from a dialog ?

    Jimmy




Replies:
Posted By: jimmy
Date Posted: 17 May 2006 at 8:20am
For show pane from Dialog, here is a sample
compile, start, press [T] button in toolbar.

press button1, button2, button3, button1, ...

uploads/jimmy/2006-05-17_081956_GUI_VisualStudio7.zip - 2006-05-17_081956_GUI_VisualStudio7.zip


Posted By: Oleg
Date Posted: 17 May 2006 at 11:06am

Hi,

Add

AfxGetApp()->OnIdle(0);

after m_pMainFrame->OnShowView(xxx);



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



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