EasyManuals Logo

Omron NS-RUNTIME - SOFTWARE User Manual

Omron NS-RUNTIME - SOFTWARE
157 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #83 background imageLoading...
Page #83 background image
4-5 Macros
4-27
WINTERM Exits a specified window
Applicable versions System Version 6.6 or higher
Format WINTERM(S1, S2)
Function
Exits a window specified with S1.
Set the following search conditions for each bit with S2.
The 0 bit to 3rd bit:
0:Window title that completely matches with S1.
1:Window title that matches with the number of characters of S1.
2:Window title that matches with the number of characters of S1 (Except for
a folder).
The 4th bit:
0:Sends a WM_CLOSE message to a specified window.
1: Sends a WM_DESTORY message to a specified window.
Example: Microsoft Word
When the 4th bit is 0,
Displays a message saying Do you want to save the document 1?
After confirming, Microsoft Word ends.
When the forth bit is 1,
Exits a window without displaying a confirmation message even when there
is a change.
Use Unicode if you use a symbol to specify a string with S1.
Return Value
0: Completed normally
-1:No specified window
Example WINTERM("TEST",0); ‘Exit a window titled TEST.
WINTOP Brings a specified window to the front
Applicable versions System Version 6.6 or higher
Format
WINTOP(S1 ,S2)
Function
Brings a window specified with S1 to the front.
Set the following search conditions for each bit with S2.
The 0 bit to 3rd bit:
0:Window title that completely matches with S1.
1:Window title that matches with the number of characters of S1.
2:Window title that matches with the number of characters of S1 (Except for
a folder).
Use Unicode if you use a symbol to specify a string with S1.
Return Value
0: Completed normally
-1:No specified window
Example
WINTOP("TEST",0) ;
‘Bring a window titled TEST to the front.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NS-RUNTIME - SOFTWARE and is the answer not in the manual?

Omron NS-RUNTIME - SOFTWARE Specifications

General IconGeneral
BrandOmron
ModelNS-RUNTIME - SOFTWARE
CategorySoftware
LanguageEnglish

Related product manuals