WinExec()

<< Click to Display Table of Contents >>

Navigation:  Explain™ Control Language  > Library Routines > Run Control functions >

WinExec()

Description

Start execution of a Windows® application by a call from Explain™.

 

Equivalent to a Program Manager File > Run... command.

 

Type

REGULAR FUNCTION

 

Usage

WinExec(Command, Mode)

 

Command

STRING

The path name of the program to run.

Mode

INDEX

A code describing the window in which the program runs and the program status.

 

0 = hidden

1 = activate, show normal size

2 = activate, show minimized (as icon)

3 = activate, show maximized (full screen)

4 = don't activate, show normal size

5 = activate, show at current size

7 = don't activate, show minimized

NIL

Same as INDEX = 7

 

Related Topics