is used to handle the right sliding window associated with the current window. When running the window, MyRightSlidingWindow
is replaced by the window (and not by the name of the window). Then, MyRightSlidingWindow
can be used like any other window.
Benefit: MyRightSlidingWindow allows you to handle, from the current window, the controls found in the right sliding window associated with the current window.
Handling the controls of the sliding window from the current window
is always replaced by the right sliding window defined for the current window. For example, using Color
on a Static control:
// Changes the caption color in the right sliding window
MyRightSlidingWindow.STC_Caption.Color = LightRed