Path: news.mathworks.com!not-for-mail
From: "Vihang Patil" <vihang_patil@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: positioning of questdlg
Date: Fri, 15 Feb 2008 18:22:02 +0000 (UTC)
Organization: Konem Solutions
Lines: 50
Message-ID: <fp4l8a$ph5$1@fred.mathworks.com>
References: <fp3o4f$nm3$1@fred.mathworks.com> <fp4iu9$m5g$1@canopus.cc.umanitoba.ca> <fp4k0u$7l3$1@fred.mathworks.com> <fp4kfb$ns4$1@canopus.cc.umanitoba.ca>
Reply-To: "Vihang Patil" <vihang_patil@yahoo.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1203099722 26149 172.30.248.37 (15 Feb 2008 18:22:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 15 Feb 2008 18:22:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 413701
Xref: news.mathworks.com comp.soft-sys.matlab:451723


roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson) wrote in 
message <fp4kfb$ns4$1@canopus.cc.umanitoba.ca>...
> In article <fp4k0u$7l3$1@fred.mathworks.com>,
> Vihang Patil <vihang_patil@yahoo.com> wrote:
> >roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson) wrote in 
> >message <fp4iu9$m5g$1@canopus.cc.umanitoba.ca>...
> 
> >> http://groups.google.ca/group/comp.soft-
> >sys.matlab/msg/a3e0fe80bf02d691
> >> Feb 1 2008
> >> "Error Dialog Box (errordlg) Position"
> >> by roberson@ibd.nrc-cnrc.gc.ca
> 
> >> Though that posting referred to errordlg, the same 
> >applies to
> >> questdlg.
> 
> >I dont think thats possible Walter, because errordlg 
gives 
> >the handle of the figure to the output, while questdlg 
> >doesnot, moreover, questdlg has to wait for the user 
input.
> 
> Good point, but I gave two solutions in that thread, and 
the
> second one applies:
> 
>   The figure location for errordlg {and now questdlg} is 
given by 
>   the root property DefaultFigurePosition.
> 
> questdlg then potentially modifies it by calling 
> getnicedialoglocation to center the dialog in the upper 
third of
> the screen.
> -- 
>   "We may gather out of history a policy, by the 
comparison and
>   application of other men's forepassed miseries with 
our own like
>   errors and ill deservings."                 -- Sir 
Walter Raleigh

Hello Walter
Could you please provide some suitable example.
I have not quite understood, how we could accomplish the 
above by your method?

Vihang