printDialog focus problem
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 2 of 2

Thread: printDialog focus problem

  1. #1
    Join Date
    Feb 2013

    printDialog focus problem

    Previously i am using the code

    DialogResult res = dlgPrint.ShowDialog();
    if (res == DialogResult.OK)
    // print the image.

    when i use this code i am getting the problem of lost focus to print window.

    If i use begininvoke() method to get focus on print window. when i clicked on print button i am not able to capture the result and print the document.

    I had used the

    PrintDialog dlgPrint = new PrintDialog();
    dlgPrint.Document = document;
    ShowThePrintDialog printD = new ShowThePrintDialog(dlgPrint.ShowDialog);

    but not working

  2. #2
    Join Date
    Jul 2001
    Sunny South Africa

    Re: printDialog focus problem

    [ Moved ]

    Please do not revive old threads.

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

This is a survey!

HTML5 Development Center