MessageBox position [message #444570] |
Fri, 15 October 2004 01:19 |
Eclipse User |
|
|
|
Originally posted by: claudia_schneider.onlinehome.de
Hi,
I have a program running as standalone app and in case of errors,
it will use a SWT MessageBox to display the error
How do I set the position of this box - as it seems to come up
in the middle of the screen all the times..
Regards,
Achim
|
|
|
|
Re: MessageBox position [message #444592 is a reply to message #444587] |
Fri, 15 October 2004 16:29 |
Eclipse User |
|
|
|
Originally posted by: kevin.clark.accessbc.com.nospam
Steve,
I have a dual monitor display, and any MessageBox's always appear in the
dead center, between the monitors. i.e, half of the box is on one monitor
the other half is on the other monitor. It's then difficult to read
(without dragging), and easy to miss. Therefore, I think Achim has a valid
question...
Thanks,
Kevin
Steve Northover wrote:
> You don't. MessageBox's come up at the correct location for the platform.
> "Claudia Schneider" <claudia_schneider@onlinehome.de> wrote in message
> news:ckn88e$651$2@eclipse.org...
> > Hi,
> >
> > I have a program running as standalone app and in case of errors,
> > it will use a SWT MessageBox to display the error
> > How do I set the position of this box - as it seems to come up
> > in the middle of the screen all the times..
> >
> > Regards,
> > Achim
> >
> >
|
|
|
Re: MessageBox position [message #444593 is a reply to message #444592] |
Fri, 15 October 2004 16:49 |
Veronika Irvine Messages: 1272 Registered: July 2009 |
Senior Member |
|
|
What platform are you running on? I have a dual monitor configuration for
Windows XP, Motif and GTK and on all these platforms, the MessageBox appears
in the center of the monitor containing the parent shell.
"Kevbo" <kevin.clark@accessbc.com.nospam> wrote in message
news:ckotsi$65p$1@eclipse.org...
> Steve,
>
> I have a dual monitor display, and any MessageBox's always appear in the
> dead center, between the monitors. i.e, half of the box is on one monitor
> the other half is on the other monitor. It's then difficult to read
> (without dragging), and easy to miss. Therefore, I think Achim has a valid
> question...
>
> Thanks,
> Kevin
>
>
> Steve Northover wrote:
>
>> You don't. MessageBox's come up at the correct location for the
>> platform.
>
>> "Claudia Schneider" <claudia_schneider@onlinehome.de> wrote in message
>> news:ckn88e$651$2@eclipse.org...
>> > Hi,
>> >
>> > I have a program running as standalone app and in case of errors,
>> > it will use a SWT MessageBox to display the error
>> > How do I set the position of this box - as it seems to come up
>> > in the middle of the screen all the times..
>> >
>> > Regards,
>> > Achim
>> >
>> >
>
>
|
|
|
Re: MessageBox position [message #444640 is a reply to message #444593] |
Mon, 18 October 2004 16:01 |
Eclipse User |
|
|
|
Originally posted by: kevin.clark.accessbc.com.nospam
I'm running WinXP. I don't usually pass the parent Shell to the MessageBox
(usually null). I should also mention that I'm using an older version of
SWT (2.1). Which probably makes this whole discussion a moot point. =)
I noticed the MessageBox throwing errors with SWT 3.0.1. I haven't gotten
around to debugging that issue in my program yet, but I suspect that I
will have to pass the parent Shell.
Thanks,
Kevin
Veronika Irvine wrote:
> What platform are you running on? I have a dual monitor configuration for
> Windows XP, Motif and GTK and on all these platforms, the MessageBox appears
> in the center of the monitor containing the parent shell.
> "Kevbo" <kevin.clark@accessbc.com.nospam> wrote in message
> news:ckotsi$65p$1@eclipse.org...
> > Steve,
> >
> > I have a dual monitor display, and any MessageBox's always appear in the
> > dead center, between the monitors. i.e, half of the box is on one monitor
> > the other half is on the other monitor. It's then difficult to read
> > (without dragging), and easy to miss. Therefore, I think Achim has a valid
> > question...
> >
> > Thanks,
> > Kevin
> >
> >
> > Steve Northover wrote:
> >
> >> You don't. MessageBox's come up at the correct location for the
> >> platform.
> >
> >> "Claudia Schneider" <claudia_schneider@onlinehome.de> wrote in message
> >> news:ckn88e$651$2@eclipse.org...
> >> > Hi,
> >> >
> >> > I have a program running as standalone app and in case of errors,
> >> > it will use a SWT MessageBox to display the error
> >> > How do I set the position of this box - as it seems to come up
> >> > in the middle of the screen all the times..
> >> >
> >> > Regards,
> >> > Achim
> >> >
> >> >
> >
> >
|
|
|
Powered by
FUDForum. Page generated in 0.04032 seconds