![]() |
Paint Trouble with Panes, ... |
Post Reply
|
| Author | |
jimmy
Senior Member
Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
Post Options
Thanks(0)
Quote Reply
Topic: Paint Trouble with Panes, ...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 |
|
![]() |
|
jimmy
Senior Member
Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
Post Options
Thanks(0)
Quote Reply
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, ... 2006-05-17_081956_GUI_VisualStudio7.zip |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 May 2006 at 11:06am |
|
Hi, Add AfxGetApp()->OnIdle(0); after m_pMainFrame->OnShowView(xxx); |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |