How can I maximize a minimized 16 bit exe from another EXE.
Thanks in advance
Otto
How can I maximize a minimized 16 bit exe from another EXE.
Thanks in advance
Otto
Try using FindWindow() and then ShowWindow().
EMG
Enrico,
Where can further information be found regarding the use of these 2 functions? It is not in the 1.1 xHarbour manual nor the FiveWin Help files for 7.04.
Regards,
Ken
#include "Fivewin.ch"
#define SW_MAXIMIZE 3
FUNCTION MAIN()
LOCAL hWnd := FINDWINDOW( 0, "Main window title" )
IF !EMPTY( hWnd )
SHOWWINDOW( hWnd, SW_MAXIMIZE )
ELSE
? "Window not found"
ENDIF
RETURN NILKen Wantz wrote:Enrico,
Where can further information be found regarding the use of these 2 functions? It is not in the 1.1 xHarbour manual nor the FiveWin Help files for 7.04.
Regards,
Ken
Ken,
Besides Enrico's example, please review FWH\samples\ShowApp.prg also
Thanks Enrico and Antonio,
Another stupid leson learned. I was doing a search for FIND expecting all possibilities to be listed. Instead, I got 5 completely different titles.
That will teach me that shortcuts do not always work.
Regards,
Ken