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

    inserting a bitmap in my About Box

    Is there any easy way of inserting a bitmap in my About Box.
    There exists code and discussion on declaring a bitmap to
    be the background of a dialog box, but I am just looking for
    a way to insert my bitmap into a dialog box.

    I have vc++ 6.0. Any response any one can give me will be
    greatly appreciated. Details are beloved!


  2. #2
    Guest

    Re: inserting a bitmap in my About Box

    Make a picture box on the dialog right click on it and on properties tab select bitmap from the combo

    I think that should do it




  3. #3
    Join Date
    May 1999
    Posts
    327

    Re: inserting a bitmap in my About Box

    When I insert a new dialog box, I get a toolbar with a variety
    of things that I can insert into my dialog box, such as an edit
    box, static text and a picture option. When I insert a picture
    box into my dialog box, I get a small square frame. If I right
    click on that frame and then on the properties tab, I get options
    "general", "style", "more styles" and "extended styles" but nothing
    which lets me include a bitmap file into my dialog box.


    I remain perplexed as to how to insert a bitmap into a
    dialog box. Please, any response any one can give me will be
    greatly appreciated.


  4. #4
    Join Date
    May 1999
    Location
    Oregon, USA
    Posts
    302

    Re: inserting a bitmap in my About Box

    In the dialog section of this site there are two articles describing
    file open dialogs with image preview. You could probably adapt
    one of those to meet your needs. The articles should explain the
    techniques involved. I took one and adapted it to work as a wallpaper
    selector for myself and it worked pretty well. Check the comments
    in the articles because there are sometimes little 'gotchas' in there.



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