How can I maximize a minimized 16 bit exe from another EXE.
Thanks in advance
Otto
maximize a minimized exe
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: maximize a minimized exe
Try using FindWindow() and then ShowWindow().
EMG
EMG
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
This is a sample:
EMG
Code: Select all
#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 NIL
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: