ControlBar Docking Window
When adding tabs dynamically to my tabctrl object contained within a controlbar docking window, the contents of the tabctrl which is a listctrl are not being displayed. Only when I reposition the docking window are they drawn. I have tried the invalidate and update window functions but to no avail. Any suggestions would be greatly appreciated!!!
Thanks,
Caroline
Re: ControlBar Docking Window
I had a similar problem before.
I am not sure where your code is invalidating
and updating your listctrl. But instead of invalidate and
update function, I used "SetWindowPos()" function
with "&wndTop" as first parameter and
in OnWindowPosChanged() routine. Try it and let me know.
Good luck. :)
Walter I An
Re: ControlBar Docking Window
Make sure the parent window of listctrl and tabctrl is not the same. In this case is possible
your tabctrl to be drawn over the listctrl.