Results 1 to 2 of 2

Thread: positioning dialog boxes..

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091
    Hi,

    How and where do I specify where a dialog box should appear on the screen? Such as center of screen, etc.. As it is right now, they keep appearing in the upper left hand corner of the main window.

    Thanks,

    Dan

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    In the WM_INITDIALOG window specify where to set the dialog box using SetWindowPos API. You can check the center check box in the dialog properties box to initialize the dialog box in the center of the screen.
    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

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