This method of the DirectDrawSurface Class sets the z-order of an overlay.
public void updateOverlayZOrder(int flags, DirectDrawSurface ddS);
flags | One value of DDOVERZ_ type. |
ddS | The DirectDrawSurface object to be used as a relative position in the overlay chain. This parameter is needed only for DDOVERZ_INSERTINBACKOF and DDOVERZ_INSERTINFRONTOF. |