maximize a minimized exe

Post Reply
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

maximize a minimized exe

Post by Otto »

How can I maximize a minimized 16 bit exe from another EXE.
Thanks in advance
Otto
Ken Wantz
Posts: 45
Joined: Wed Nov 29, 2006 7:48 pm
Location: Toronto Canada

Post by Ken Wantz »

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
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

This is a sample:

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
EMG
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

Ken 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
Both functions are documented inside fwfun.chm.

EMG
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Ken,

Besides Enrico's example, please review FWH\samples\ShowApp.prg also
regards, saludos

Antonio Linares
www.fivetechsoft.com
Ken Wantz
Posts: 45
Joined: Wed Nov 29, 2006 7:48 pm
Location: Toronto Canada

Post by Ken Wantz »

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
Post Reply