PDA

View Full Version : How to set the position of the dialogue windows



NewsArchive
09-26-2008, 01:29 AM
Hi Guys

Anyway know how I can set the position of the dialogue window? I need to
have it positioned centred horizontally but just down off centre vertically.

Its so the logo on billboard behind can be seen.

Cheers

Richard

NewsArchive
09-26-2008, 01:30 AM
Hi Richard,

> Anyway know how I can set the position of the dialogue window? I need to
> have it positioned centred horizontally but just down off centre
> vertically.

I have to check if it is possible to use Windows APIs and the Call DLL
feature to do this, but...

>
> Its so the logo on billboard behind can be seen.
>

.... are you still using the "blue background" feature? This is only there
for backward compatibility reasons. I would not use it any longer because
it looks so "old-fashioned". Of course, my $.02 ;-) The industry-standard
is the wizard only (can be minimized while the installer is running).

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
09-27-2008, 08:37 AM
Hi Friedrich

This is what I want to do if possible see attached.

Basically the dialog window popups dead centred when I'd like to move it
down a touch.

Maybe something for your next version?<g>

Cheers

Richard

NewsArchive
09-27-2008, 08:37 AM
Hi Richard,

>
> This is what I want to do if possible see attached.
>

Yes, I understand :) I am experimenting with a custom Clarion DLL right now
to set the position of the wizard. Something like the following: the
Clarion DLL (called from the installer) gets the window handle, receives the
window position and then moves it down (or left or right or whatever). Not
100% sure if it will work.

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
09-27-2008, 08:38 AM
Ok thanks. :-)

Richard Rose

NewsArchive
09-27-2008, 08:38 AM
>
> Ok thanks. :-)
>

Well, it works, but not as expected <g>. The problem is that we can't get
the handle to the wizard (in SetupBuilder 6) when it is "initialized". The
first script event is fired when the "Next" button is pressed. In other
words, it is displayed centered and then (when the Next button is pressed)
the DLL is called and "moves" the wizard. Buth this does not help you to
solve your problem <g>.

So I fear you have to wait for SetupBuilder 7 :-(

Friedrich

NewsArchive
09-27-2008, 08:39 AM
Hi Friedrich

Thanks for trying,

> So I fear you have to wait for SetupBuilder 7 :-(

I kept looking for the download link in the email but I guess you'll be
sending them out on Oct 13 or thereabouts.<g>

Cheers

Richard

NewsArchive
09-27-2008, 08:39 AM
>> So I fear you have to wait for SetupBuilder 7 :-(
>
> I kept looking for the download link in the email but I guess you'll
> be sending them out on Oct 13 or thereabouts.<g>

<G>

I'll try to add an option to SB7 (beta-1) so you can "move" the dialog
wizard without having to call into a custom DLL.

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner