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

Thread: adding icons to toolbar in form

  1. #1
    Join Date
    Apr 2003
    Posts
    74

    adding icons to toolbar in form

    Hi, I have seached the toolbar info here, and it all seems to add icons to the toolbar by code. But I know for a fact that it can be done in the form with menu editor. but I, duh, can't remember it. WHen I get the editor open go to picture, then browse to an icon, it give the error "Invalid property value". I want this as simple as possible. Thnaks for any input.
    Cheers

  2. #2
    Join Date
    Nov 2003
    Location
    Seattle, WA
    Posts
    265
    1> Plop an image list on the form somewhere..
    2> Add images/icons to it
    3> Plop a toolbar on the form
    4> Go to its property page
    5> Associate the imagelist with the toolbar
    6> Add your buttons

    and your done... Easy wasn't it...
    "Lose it? It means go crazy...nuts...insane...bonzo...no longer in possession of one's faculties...3 fries short of a happy meal...WACKO!!!"

  3. #3
    Join Date
    Apr 2003
    Posts
    74
    Jinto, you are the MAN! (or WOMAN!), that was it exactly, it had been 2 years since I've used it, I knew it was something simple. Cheers.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)