Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - list display table http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 List display table
------------------------------------------------------------------------------
 List display statuses

------------------------------------------------------------------------------
 Macro            Value     Meaning
------------------------------------------------------------------------------
 PDS_NONE             0     No special event, just idle.

 PDS_INIT             1     Initialization (this status will only be sent
                            once when pickdisp() starts execution. It
                            can be used to position the selection bar
                            to an initial position (default is the first
                            item in the list).

 PDS_TOP              2     The previous handler command has tried to move
                            the selection bar beyond the first item.

 PDS_BOTTOM           3     The previous handler command has tried to move
                            the selection bar past the last item.

 PDS_FOUND_NONE       4     The previous seek for a hot-key was not
                            successful.

 PDS_FOUND_ONE        5     The previous seek for a hot-key found one unique
                            item.

 PDS_FOUND_SOME       6     The previous seek for a hot-key found two or more
                            items with a matching hot-key.

 PDS_OUTOFRANGE       7     The previous PDC_GOTO command attempted to
                            position to an item-id which is not in the list.
------------------------------------------------------------------------------


 List display commands

------------------------------------------------------------------------------
 Macro            Value     Meaning
------------------------------------------------------------------------------
 PDC_IDLE             0     Do nothing, just call the keyboard handler again.

 PDC_QUIT             1     Terminate execution, return 0.

 PDC_RETURN           2     Terminate execution, return the current item id.

 PDC_DOWN             3     Position the selection bar on the next item.

 PDC_UP               4     Position the selection bar on the previous item.

 PDC_PG_DOWN          5     Position the selection bar on the bottom item of
                            the window; if already there, scroll items one
                            window size towards the last item.

 PDC_PG_UP            6     Position the selection bar on the top item of
                            the window; if already there, scroll items one
                            window size towards the first item.

 PDC_HOME             7     Display the first list item at the window top,
                            and position the selection bar there.

 PDC_END              8     Display the last list item at or close to the
                            window bottom, and position the selection bar
                            there.

 PDC_HOT              9     Search list for the hot-key passed in the
                            uItemCurr parameter.

 PDC_GOTO            10     Display the item with the id passed in the
                            uItemCurr parameter in the window, and position
                            the selection bar on that item.

 PDC_REFRESH_LINE    11     Redisplay the current item.

 PDC_REFRESH_ALL     12     Redisplay all items in the window.
------------------------------------------------------------------------------

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson