class PtScrollArea PtContainer { scroll_area_flags; // flag (Pt_ARG_SCROLL_AREA_FLAGS) scroll_area_increment_x; // unsigned short (Pt_ARG_SCROLL_AREA_INCREMENT_X) scroll_area_increment_y; // unsigned short (Pt_ARG_SCROLL_AREA_INCREMENT_Y) scroll_area_max_x; // unsigned short (Pt_ARG_SCROLL_AREA_MAX_X) scroll_area_max_y; // unsigned short (Pt_ARG_SCROLL_AREA_MAX_Y) scroll_area_pos_x; // unsigned short (Pt_ARG_SCROLL_AREA_POS_X) scroll_area_pos_y; // unsigned short (Pt_ARG_SCROLL_AREA_POS_Y) scrollbar_x_display; // unsigned short (Pt_ARG_SCROLLBAR_X_DISPLAY) scrollbar_x_height; // unsigned short (Pt_ARG_SCROLLBAR_X_HEIGHT) scrollbar_y_display; // unsigned short (Pt_ARG_SCROLLBAR_Y_DISPLAY) scrollbar_y_width; // unsigned short (Pt_ARG_SCROLLBAR_Y_WIDTH) }
This widget is physical window that can display part of what is usually a larger virtual area. Scrollbars are provided for moving non-visible portions of the virtual area into the display area.
![]() | For detailed information, please refer to PtScrollArea in the Photon documentation. |
| Constant | Description |
|---|---|
| Pt_SCROLL_AREA_IGNORE_KEYS | Makes the scroll area ignore the PgUp, PgDn, Home, End and arrow keys. |
| Pt_SCROLL_AREA_TRACK_FOCUS | Enables auto-scrolling to keep widgets visible when being moved. |
| Constant | Description |
|---|---|
| Pt_NEVER | Never show the scrollbar. |
| Pt_ALWAYS | Always show the scrollbar. |
| Pt_AS_REQUIRED | Show the scrollbar when the virtual area is greater than the display area. |
Copyright © 1995-2006 by Cogent Real-Time Systems, Inc. All rights reserved.