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

    OpenDocumentFile

    I have an application that uses a form. On the form is a button to open up a dialog box. The application uses, OpenDocumentFile() to fill in the data in the dialog box. However, when I open the dialog box, the dialog box is opened behind the form, and I want it to open in front of the form. Is there a way to change the position of where the dialog is opened? Thanks


  2. #2
    Guest

    Re: OpenDocumentFile

    You might try

    dlg.SetForegroundWindow( );

    or

    dlg.MoveWindow( );





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