Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
ernest peters
|
Oct 18, 2004 - 9:15 PM
|
Just trialling your suite at the moment. I have a tree control that is in a resource (not created at runtime, has its own class which inherits CExtResizableDialog) and i attach it to a CExtControlBar. Updating of the tree is automatic using serial comms data. My question is, How do i redraw the tree after the data is updated? CExtControlBar does not handle this by default (update its children). It will however redraw if i dock or undock the CExtControlBar, after which it works fine.
|
|
Technical Support
|
Oct 19, 2004 - 2:43 AM
|
The typical modification of the tree control modification looks like:m_wndTree.SetRedraw( FALSE );
. . .
// YOUR MODIFICATION CODE IS HERE
. . .
m_wndTree.SetRedraw( TRUE );
m_wndTree.Invalidate();
m_wndTree.UpdateWindow();
If this code layout does not fix the problem, send us your test project so that we can help you.
|
|
ernest peters
|
Oct 19, 2004 - 8:49 PM
|
Thanks..got it working now. I would like to commend you guys on your technical support..second to none..definately tips the scales in your favour for our company.
|
|