Changing Z order of window
Posted: Tue Mar 15, 2005 3:09 pm
				
				I am trying to hide a dos window behind my PB window but it refuses to budge!
This what I am doing.....
The reason I am closing a window is that it generates 2 dos windows. Tried putting delays but didn't do anything. Maybe the repeat...until loop is going too fast?
Any ideas as to moving the Z order behind my PB window would be most welcomed.
Alan
			This what I am doing.....
Code: Select all
Case #Gadget_Form1_ButtonTX
            RunProgram("C:\dosprog.exe,"")
            hDosWin = FindWindow_(#Null,"c:dosprog")
            SendMessage_(hDosWin, #WM_CLOSE, 0, 0)
            hDosWin = FindWindow_(#Null,"c:dosprog")
            SendMessage_(hDosWin, SetWindowPos_(hDosWin,#HWND_BOTTOM,10,10,50,50,0),0,0)Any ideas as to moving the Z order behind my PB window would be most welcomed.
Alan