List Info

Thread: Dialog box screen location in reference to Main Window




Dialog box screen location in reference to Main Window
user name
2006-12-01 15:23:24

Hi!
 
Try the attached zip. It contains a .pjd and sources with hand coding. I believe it does what you want.
 
HTH:
 ;
thx,
Dave S.
 
 
wxMS_developers · Development with wxWidgets on MSWindows 
 
wxMS_developers RSS feed
 
wxWidgets Code Exchange
-- On Fri, 01 Dec 2006 13:08:57 -0000 Peter Rung wrote --
> I have an application with a wxFrame and wxPanel as the main
> window. Let's say it is centered upon launch and is 300 pixels wide
> and 400 pixels long.  I have Dialog Window 1 which is 400 pixels
> wide and 500 pixels long.  I would like DW1 to appear to the left
> of the main window, directly adjacent to it and have the tops of
> the Window align. Additionally, I want to do the same thing with
> Dialog 2, only on the right side of the main window.
>
> I have tried to unchecked the "centre" attribute in the dialog box
> and then attemtped to manupulate "x" and "y" attributes, w/o avail.
>
> Any thoughts as to how to do this in DB?
>
> Thanks,
>
> Peter
>
>
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
>
> Your email settings:
> Individual Email | Traditional
>
> To change settings online go to:
> required)
>
> To change settings via email:
> anthemion-devtools-digest@yahoogroups.com">mailto:anthemion-devtools-digestyahoogroups.com anthemion">mailto:anthemion-
> devtools-fullfeaturedyahoogroups.com
>
> To unsubscribe from this group, send an email to: anthemion-
> devtools-unsubscribeyahoogroups.com
>
> Your use of Yahoo! Groups is subject to:

__._,_.___
.

__,_._,___
Dialog box screen location in reference to Main Window
user name
2006-12-01 15:34:21

BTW,

Uncheck the Fit to content box for each Dialog in DB to get a clearer
idea of the layout.

fyi,
Dave S.

--- In anthemion-devtools%40yahoogroups.com">anthemion-devtoolsyahoogroups.com, Dave Silvia <dsilvia...>
wrote:
>;
> Hi!
>
> Try the attached zip. It contains a .pjd and sources with hand
coding. I believe
> it does what you want.
>;
> HTH:
>
> thx,
> Dave S.
>
>
> wxMS_developers · Development with wxWidgets on MSWindows
> http://tech.groups.yahoo.com/group/wxMS_developers/join
>;
> wxMS_developers RSS feed
> http://rss.groups.yahoo.com/group/wxMS_developers/rss
>
> wxWidgets Code Exchange
> http://wxcodex.net/
>
> -- On Fri, 01 Dec 2006 13:08:57 -0000 Peter Rung wrote --
> > I have an application with a wxFrame and wxPanel as the main
> > window. Let's say it is centered upon launch and is 300 pixels wide
> > and 400 pixels long. I have Dialog Window 1 which is 400 pixels
&gt; > wide and 500 pixels long. I would like DW1 to appear to the left
> > of the main window, directly adjacent to it and have the tops of
> > the Window align. Additionally, I want to do the same thing with
> > Dialog 2, only on the right side of the main window.
&gt; >
> > I have tried to unchecked the "centre" attribute in the dialog box
> > and then attemtped to manupulate "x&quot; and "y&quot; attributes, w/o avail.
&gt; >
> > Any thoughts as to how to do this in DB?
> >
> > Thanks,
&gt; >
> > Peter
>; >
> >
> > Yahoo! Groups Links
>; >
> > To visit your group on the web, go to:
> > http://groups.yahoo.com/group/anthemion-devtools/
> >
> > Your email settings:
> > Individual Email | Traditional
> >
> > To change settings online go to:
> > http://groups.yahoo.com/group/anthemion-devtools/join (Yahoo! ID
> > required)
> >
> > To change settings via email:
&gt; > mailto: anthemion-devtools-digest%40yahoogroups.com">anthemion-devtools-digestyahoogroups.com mailto:anthemion-
&gt; > devtools-fullfeatured%40yahoogroups.com">devtools-fullfeaturedyahoogroups.com
&gt; >
> > To unsubscribe from this group, send an email to: anthemion-
> > devtools-unsubscribe%40yahoogroups.com">devtools-unsubscribeyahoogroups.com
&gt; >
> > Your use of Yahoo! Groups is subject to:
> > http://docs.yahoo.com/info/terms/
>

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )