project2:

sorry for the Exe, it was the only way to show you that extract icon on an Exe can something lead to confusion...

I was not wondering why there was several icon...
You mentionned in a post early that you were working on extracting icon function, I was merely showing you an exe that could cause conflict in that area if you were not expecting that kind of result...

Maybe I overthought here, I just wanted to be usefull so you take that particular case into consideration.


download files are removed.

Project1:

Code:
I have trouble following your logic in the last modification:

  If (m_RenderFlags And render_Shown) = 0& Then
    Call sptSetUserMode
    m_RenderFlags = m_RenderFlags Or render_Shown
    Call sptGetScaledSizes(False)
    m_RenderFlags = (m_RenderFlags And Not render_Shown)
  Else
    'Previous Code was here
    m_RenderFlags = (m_RenderFlags And Not render_NoRedraw)
    Call sptGetScaledSizes(False)
    UserControl.Refresh
  End If
could you explain a bit ? thanks