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

    Printing A Dialog Box.

    How can i Print the whole dialog box and all its controls and contents at a users request?
    To siplify: how do i dump the entire current screen containing a dialog box to the printer ?

    arie fred
    [email protected]

  2. #2
    Join Date
    May 1999
    Location
    UK
    Posts
    59

    Re: Printing A Dialog Box.

    Bit of a naff solution, this, but it's pretty simple. You could grab the screen (or just the dialog) into a CBitmap, create a CPrintDC, do SelectObject to get the bitmap into the print DC and then dump it to the printer...

    MJA

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