Entry
R2 = main window handle
R3 = sub-window handle
R4 = flags :
bit meaning if set
0 clip linked window to the left of the main window
1 clip linked window to the right of the main window
2 clip linked window above the main window
3 clip linked window below the main window
4 link scroll bars together
5 link window to the left
6 link window to the right
7 link window to the top
8 link window to the bottom
9-30 reserved; MUST BE 0
31 link is hidden
Will link two windows so the sub-window moves with the main window, the positioning of the sub-window is determined by where the windows are at the time of this call (eg. you should create your windows in a template editor so that they are where you want them to be when linked together).
Bit 4 will link the scroll bar offsets of both windows together, so that if you scroll either window the other window follows suit.
Under WimpExtension II you must specify how to link the window, normally you will set bits 5,7 and clear 6,8.
Provided by LinkedWindow!
|
|
|