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

Thread: Icons

  1. #1
    Join Date
    Apr 1999
    Posts
    108

    Icons

    main.Icon = startup.Text

    is it not possible to do soemthign liek this? have a textbox with the full pathname of the icon and then when it loads, the icon will be what you specified? the onyl way i know how to do this is to have 2 or more forms and then go

    form1.icon=form2.icon

    but thats crappy... is there another way i can do this without all the extra forms?

    ?

  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Icons

    use
    main.icon = LoadPicture("path of your icon file goes here")





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