CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Guest

    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


  2. #2
    Join Date
    May 1999
    Location
    Republic of Korea
    Posts
    100

    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



  3. #3
    Join Date
    Apr 1999
    Posts
    24

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured