The following control options are possible with WindowsStyle parameters (binary characteristic
values):
0000 0000 xxxx xxxx 0000 0000 0000 0000
1010 Header
1000 Border
0100 Type of window frame on a dialog box
0010 Vertical scroll bar
0001 Horizontal scroll bar
1000 System menu
0100 Frame (Thickframe)
0010 Minimize box
0001 Maximize box
Assign binary characteristic values to the WindowStyle parameters as decimal numbers. It is
possible to do the conversion using the calculator in Windows, for example.
Example conversion
The properties of the system menu as well as the horizontal and vertical scroll bar should be
defined. According to the table, these are:
0000 0000 0011 1000 0000 0000 0000 0000 binary or
0038 0000 hexadecimal
1. Select Hex on the calculator.
2. Enter the digit string 00380000 (leading zeroes can be omitted).
3. Select Dec.
Result: 3670016
4. Assign the result to the parameter as a characteristic value.
Application examples
For the Windows application Notepad, the system menu as well as the horizontal and vertical
scroll bar should be activated:
[notepad]
WindowStyle_On = 3670016
No minimize box and no maximize box should be displayed for the Windows application
Notepad:
[notepad]
WindowStyle_Off = 196608
x/y
The parameters x and y define the starting coordinates of the window of the Windows
application to be linked, measured from an origin in the upper left corner of the screen. x is
the horizontal coordinate, y is the vertical coordinate pointing downward. The unit of
measurement is pixels.
SINUMERIK Operate on PC/PCU
23.2 Parameterizing the OEMFrame application
SINUMERIK Operate (IM9)
Commissioning Manual, 12/2017, 6FC5397-1DP40-6BA1 669