Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
160
Repaint of InteropUserControl WinGrid
posted

Hello.

I have a InteropUserControl that is a WinGrid.  I have added this grid to a frmSearch in VB6 and am able to open multiple search forms as needed.  Problem is that if I have more than one frmSearch open and overlaping eachother if I click on a row or the vscroll of the WinGrid. When the overlapped grid moves to the foreground the before covered area is gray. Its not repainting...  If i click on the frmSearch caption header however all repaints just fine.

Anyone have an answer to this?

Thanks for any help

Johauna.

Parents
No Data
Reply
  • 160
    Verified Answer
    posted

    Stupid me. 

     

    I added a refresh sub to the interopUserControl that called the grids refresh().  Then i called this refresh sub from inside the VB6 forms repaint method. 

     

    All works fine.

    Thanks...

    Johauna.

Children
No Data