Results 1 to 4 of 4

Thread: drawing on dialog resources

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2000
    Posts
    123
    is it possible to draw on and display bitmaps on dialog resources in MFC? if so how? (at runtime using event handlers)


    im using visual c++ 6. thanks.

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    To display a picture on a dialog, put a picture box on the dialog. Add the Bitmap you want to put as a resource and in the picture box's propery dialog (the bitmap property) choose the resource name for the bitmap. The bitmap is going to be displayed.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  3. #3

    Thread Starter
    Lively Member
    Join Date
    May 2000
    Posts
    123
    yes but how would i change the picture within code, say if i wanted a command button event to change the picture in the picturebox

  4. #4

    Thread Starter
    Lively Member
    Join Date
    May 2000
    Posts
    123
    well i figured everything out i needed, thanks

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