CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2000
    Posts
    72

    my pictureclip control does not support icons

    cant i use icons for picture in a pictureclip control?


  2. #2
    Join Date
    Jun 1998
    Posts
    6

    Re: my pictureclip control does not support icons

    i have the same problem


  3. #3
    Guest

    please help my pictureclip controlt support icons

    cant i use an icon for my picture clip control???????


  4. #4
    Join Date
    Sep 1999
    Location
    Red Wing, MN USA
    Posts
    312

    Re: please help my pictureclip controlt support icons

    The PictureClip doesn't support the Icon format, you can work around it though, by first loading the Icon into a Picturebox, then Using the Image of the Picturebox as the Picture Source for the PictureClip, ie.

    private Sub Command1_Click()
    Picture1.AutoSize = true
    Picture1 = LoadPicture("..\Common\Graphics\Icons\Computer\CDROM01.ico")
    PictureClip1.Picture = Picture1.Image
    End Sub




    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]
    Aaron Young
    Senior Programmer Analyst (Red Wing Software)
    Certified AllExperts Expert

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