Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How to move dialog from the center of the screen


9 replies to this topic

Thomas OD

Thomas OD
  • Members
  • 48 posts

Posted 06 March 2002 - 10:58

hi, what i try to do is to display dialog in the lower left corner of the screen because my billboards are hiden by dialog.
I s it a way to do that ?
Thomas OMER-DECUGIS[br]Data Manager - Ubi Soft Entertainment

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 06 March 2002 - 12:20

I think you can only specify the position for the very first dialog. All subsequent dialogs will be displayed in the same location. (Unless you want to call some WinAPI functions to find your installer windows and move it)

Thomas OD

Thomas OD
  • Members
  • 48 posts

Posted 06 March 2002 - 14:01

i tried your solution, but when i change value of left and (or) top properties for my first dialog (Welcome DLG), nothing changes...???
Did i miss something ?
Thomas OMER-DECUGIS[br]Data Manager - Ubi Soft Entertainment

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 06 March 2002 - 14:18

The first dialog is InstallInitialize, not InstallWelcome (at least if you are using the default dialogs in InstallShield)

Thomas OD

Thomas OD
  • Members
  • 48 posts

Posted 06 March 2002 - 17:16

i use ISD so i don't know where i can find InstallInitialize Dialog?
Thomas OMER-DECUGIS[br]Data Manager - Ubi Soft Entertainment

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 06 March 2002 - 17:37

In a BasicMSI Project you should see the SetupInitialization dialog (sorry, had the wrong dialog name in my previous post) in the UI Sequence and in the dialog view.

In a Standard project the UI works completely different, so everything I said does not apply to Standard projects. In this case you would have to write some script code to move the dialog. Which dialog do you want to move? For the status dialog it's easy, using the PlaceWindow function.

Thomas OD

Thomas OD
  • Members
  • 48 posts

Posted 06 March 2002 - 17:54

i work with a standard Project and i want to move all the dialog...
i have moved status dialog but for the others i don't know how to do?
Thomas OMER-DECUGIS[br]Data Manager - Ubi Soft Entertainment

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 06 March 2002 - 18:35

I believe you would have to modify the source code of the Sd dialogs and call the appropriate Windows APIs in the DLGINIT section.

nrlaing

nrlaing
  • Full Members
  • 14 posts

Posted 29 October 2008 - 16:41

Hi Stephan,
Any help on how to do this? Thanks!


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 31 October 2008 - 16:11

This is a very old thread. Maybe start a new thread, describe what you're trying to achieve to provide some context.
Note however that I haven't done much InstallScript cosing lately, so I don't recall from the top of my head how to move a dialog.