Omron NS-RUNTIME - SOFTWARE User Manual page 83

Ns-runtime software
Hide thumbs Also See for NS-RUNTIME - SOFTWARE:
Table of Contents

Advertisement

WINTERM
Applicable versions
Format
Function
Return Value
Example
WINTOP
Applicable versions
Format
Function
Return Value
Example
Exits a specified window
System Version 6.6 or higher
WINTERM(S1, S2)
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.
0: Completed normally
-1:No specified window
WINTERM("TEST",0);
Brings a specified window to the front
System Version 6.6 or higher
WINTOP(S1 ,S2)
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.
0: Completed normally
-1:No specified window
WINTOP("TEST",0) ;
'Bring a window titled TEST to the front.
'Exit a window titled TEST.
4-5 Macros
4-27

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ns-nsrcl series

Table of Contents