I am using a SWIPELIST within a window to display a "table" of static text data. LISTVIEW may be more appropriate for this, but the out-of-the-box scrolling behavior and appearance of the SWIPELIST widget is desirable in this case.
Setup:
(1) A window is created which is larger than the SWIPELIST in height so that static "header" labels are on top. Let's call this the "Header window". This window is also wider than the display screen. It is scrollable horizontally by using WM_MOTION_SetMoveable().
(2) The SWIPELIST is created and attached to the horizontally scrollable window.
Result:
The SWIPELIST works as expected to scroll through items which do not all fit on the screen vertically. The "Header window" is scrollable horizontally by touching and dragging in the area not covered by the SWIPELIST. Since the SWIPELIST is attached to this window it also moves along as desired. However, I would also like to be able to drag the SWIPELIST and it's parent "Header window" horizontally by dragging horizontally within the SWIPELIST area. I have tried to use a custom callback function in hopes that I could pass horizontal motion (WM_MOTION messages) from the SWIPELIST through to the parent window. But I could not get this to work.
Is there a way to create a SWIPELIST that is horizontally scrollable?
Setup:
(1) A window is created which is larger than the SWIPELIST in height so that static "header" labels are on top. Let's call this the "Header window". This window is also wider than the display screen. It is scrollable horizontally by using WM_MOTION_SetMoveable().
(2) The SWIPELIST is created and attached to the horizontally scrollable window.
Result:
The SWIPELIST works as expected to scroll through items which do not all fit on the screen vertically. The "Header window" is scrollable horizontally by touching and dragging in the area not covered by the SWIPELIST. Since the SWIPELIST is attached to this window it also moves along as desired. However, I would also like to be able to drag the SWIPELIST and it's parent "Header window" horizontally by dragging horizontally within the SWIPELIST area. I have tried to use a custom callback function in hopes that I could pass horizontal motion (WM_MOTION messages) from the SWIPELIST through to the parent window. But I could not get this to work.
Is there a way to create a SWIPELIST that is horizontally scrollable?