Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

cwnumedit repaint issue

Hi,

I have written a C++ application using Visual Studio.NET. I created a docking window off of the frame window by deriving a class from CControlBar. There is a dialog with a tab control on the this docking window.

Now for the problem, one of the tab controls has a cwnumedit control on it, if another dialog passes over the cwnumedit control (i.e. moving a dialog across the screen), the cwnumedit control disappears and doesn't come back until you force windows to update it (by changing tabs or something). A regular windows textbox on the same tab control doesn't do this. Any ideas why the cwnumedit control disappears?
0 Kudos
Message 1 of 3
(3,128 Views)
Which version of the control are you using? If you are using 7.1 ( the latest one) and are still seeing the problem, could you post a small project I could take a look at?

Thanks
Bilal Durrani
NI
0 Kudos
Message 2 of 3
(3,124 Views)
i had this problem with a ListControl inside a TabControl.
i solved the problem by writing a workaround in OnPaint() and called m_cListCtrl.RedrawWindow()
(where m_cListCtrl is my ListCtrl)
 
 
0 Kudos
Message 3 of 3
(3,093 Views)