Why SetIcon would Fail?

Discussion in 'Win32' started by Azzembly, Jul 5, 2010.

  1. Azzembly

    Azzembly New Member

    Joined:
    Jul 5, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I try to seticon for a picture static control (icon type)

    Code:
    HICON hi=::extracticon("shell32.dll",0);
    pic.seticon(hi);
    
    Any help is appreciated

    Thank you
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice