I am not sure if qscreen should be among wd
commands at all.
"qscreen" should be called qdevice (or qcontext),
since it's applicable to selected output media
like printer. Thus it is more appropriate
for gl2 commands, where destination can be a printer.
Here's usecases from J library
g:\math\j601\system\classes\view\viewmat.ijs (1)
max=. 2 3 { 0 ". wd 'qscreen'
g:\math\j601\system\examples\games\solitaire\main.ijs (1)
xy=. 2 3{".wd'qscreen'
g:\math\j601\system\examples\games\solitaire\options.ijs (1)
xy=. 2 3{".wd'qscreen'
g:\math\j601\system\extras\util\debugs.ijs (1)
5 { 0 ". wd 'qscreen'
All but last should use qm. Last is probably
a hack left from the old 72/96 dpi hacking days,
fixed in j601; thus should not be used.
Removing qscreen from wd and make an appropriate
command in gl2 would eliminate this confusion.
Not all things are needs like millimeters.
Note: in Java the only useful thing it reports
is DPI, which again makes more sense in gl2
in the context of current device like screen,
paper etc.
--- Oleg Kobchenko <[EMAIL PROTECTED]> wrote:
> Esp. that you are comparing output of
> qscreen with definition of qm.
>
> --- Henry Rich <[EMAIL PROTECTED]> wrote:
>
> > I think I'm supposed to understand this stuff, but
> > I just don't know what the words mean... in
> >
> > C:\J\system\extras\help\user\wd_commands.htm
> >
> > I see
> >
> > qm ; return system metrics:
> > screen width, screen height,
> > x logical unit, y logical unit,
> > cxborder, cyborder,
> > cxfixedframe, cyfixedframe,
> > cxframe, cyframe,
> > cycaption, cymenu,
> > desktop x, desktop y,
> > desktop w, desktop h
> > More elements may be added.
> >
> >
> > I just don't know what this refers to. For example,
> > 'x logical unit'. I don't know if this is describing
> > something in logical units (in which case my question
> > ins, What's a logical unit?) or telling me what a logical
> > unit is (in which case I have the additional question,
> > What is it that is being measured in logical units?).
> >
> > On my system I get
> >
> > wd 'qscreen'
> > 362 290 1280 1024 96 96 32 1 _1 36 36 51
> >
> > 12 values, which doesn't match the 16 things listed above.
> >
> > I have similar basic questions about wd 'qscreen'.
> >
> >
> > I just have the feeling this stuff must be described somewhere.
> >
> > Henry Rich
> >
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On Behalf Of Oleg Kobchenko
> > > Sent: Sunday, December 31, 2006 3:25 PM
> > > To: Programming forum
> > > Subject: RE: [Jprogramming] Form design for multiple desktop sizes
> > >
> > > Yes to both, it's explained in WD Commands page.
> > >
> > > The things they relate to is the basic
> > > UI stuff, like the size of the window title bar etc.
> > >
> > > --- Henry Rich <[EMAIL PROTECTED]> wrote:
> > >
> > > > Wait... is it the reply to 'qm'? What do all those things mean?
> > > > And what does the reply to 'qscreen' mean?
> > > >
> > > > I'm guessing there is some Windows information page that has all
> > > > these definitions, and I hope someone can point me to it.
> > > >
> > > > Henry Rich
> > > >
> > > > > -----Original Message-----
> > > > > From: [EMAIL PROTECTED]
> > > > > [mailto:[EMAIL PROTECTED] On Behalf Of Henry Rich
> > > > > Sent: Sunday, December 31, 2006 2:37 PM
> > > > > To: 'Programming forum'
> > > > > Subject: RE: [Jprogramming] Form design for multiple desktop sizes
> > > > >
> > > > >
> > > > >
> > > > > > See screen metrics.
> > > > >
> > > > > That sounds useful. Where is it?
> > > > >
> > > > > Henry Rich
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm