. DirectXtras Home
        Home

DirectCommunication Xtra
DirectConnection Xtra
DirectControl Xtra
DirectEmail Xtra
DirectFTP Xtra
DirectImage Xtra
DirectInteraction Xtra
DirectOS Xtra
Documentation
License Agreement
Licensing Fees
Order Form
DirectSMS Xtra
DirectSound Xtra
DirectTransition Xtra
DirectTransition3D Xtra Set I
DirectTransition3D Xtra Set II
DirectTransition3D Xtra Set III
DirectTTS Xtra
XtrAgent
DirectXport Xtra

SpeechPlugin

Special Discounted Bundles

The Gallery
How To Order
Order Form
Check for Upgrades

Sign in
Change Your Profile

Contact Us
















    .
DirectXtras
Xtra Power for Director & Authorware



DirectOS Xtra
 Directing Windows and MacOS. The OS at your fingertips!

Authorware 4.x Compatible Authorware 5.x CompatibleAuthorware 6.x CompatibleAuthorware 7.x CompatibleDirector 5.x Compatible Director 6.x CompatibleDirector 7.x Compatible Director 8.x CompatibleDirector MX Compatible     Windows Compatible   

dosSetWindowZOrderPos(integer WindowID, integer InsertAfterWindowID)

Sets the Z order position of the specified window. The function sets the window position in the Z order for windows of the same type. The function will not activate the specified window unless it is placed at the top of the Z order. Windows are ordered according to their appearance on the screen. The topmost window receives the highest rank and is the first window in the Z order.

Parameter :

WindowID : An integer specifying the window ID. This should be a value returned from one of the window ID retrieval methods.
InsertAfterWindowID : An integer specifying the ID of the window to precede the positioned window in the Z order. Alternatively, this parameter can be set to one of the following pre-defined values:

1 - Places the window at the bottom of the Z order. If the WindowID parameter identifies a topmost window, the window loses its topmost status and is placed at the bottom of all other windows.
0 - Places the window at the top of the Z order.
-1 - Places the window above all non-topmost windows. The window maintains its topmost position even when it is deactivated.
-2 - Places the window above all non-topmost windows (that is, behind all topmost windows). This flag has no effect if the window is already a non-topmost window.

Return Value : An integer indicating whether the method was successful or not. If 1 is returned, the method was successful. If 0 is returned, the method was not successful in which case dosGetLastError() should be called to determine the cause of the error. 

Possible Returned Error Codes via dosGetLastError() :
10022 :
Method not supported on MacOS.
10029 : Bad window ID.



DirectXtras Inc.
P.O Box 2645, Menlo Park, CA, 94026, U.S.A
Voice: +1-415-5058249, Fax: +1-801-8585841
Toll Free: 1-800-4453093
E-mail General Information: info@directxtras.com
E-mail Technical Support: support@directxtras.com

Copyright 1996-2004 DirectXtras Inc. All Rights Reserved.
WebMaster: tamar@directxtras.com
Last Updated: 12/20/2002 5:15:44 AM.