Please enable JavaScript to view this site.

A-Shell Development History

MX_SHOWWINDOW / AG_SHOWWINDOW enhancement: new opcode -3 (SW_QRYCTLPIX) is like -1 (SW_QUERY) but returns the coordinates of the target window or control in pixel units, rather than "universal units".

Also, new symbols have been defined (in ASHELL.DEF) for the three query opcodes to make them more self-explanatory.

Symbol

Value

Meaning

SW_QRYCTLPIX or SW_QRYPIX

-3

Same as -1 (SW_QRYCTLUNV) but returns the coordinates of the target window or control in pixels rather than Uiversal units.

SW_QRYMONPIX

-2

Query monitors in Universal Units

SW_QRYCTLUNV or SW_QUERY

-1

Query the current settings and update all of the passed parameters accordingly, return value in Universal Units.