Displays all of the players in the PlayerDatabase in a list control. Each player is displayed by name. The list is sorted in alphabetical order.
PlayerListCtrl.h
Displays all of the players in the PlayerDatabase in a list control. | |
The wxPlayerListCtrl constructor. | |
Reads all the players from the PlayerDatabase and inserts the information into the list control. | |
The wxWidgets event table declaration. | |
Handles the mouse entering the list’s rectangle. |
|
The wxPlayerListCtrl constructor. Creates the columns for the list control and then calls ImportPlayers to populate the control.
| parent | The parent window. |
| id | The message handling ID. Should be a unique (to the parent window) ID, if the parent window wants to receive messages from the control. |
| pos | The list control position in window coordinates. |
| size | The list control size. |
Reads all the players from the PlayerDatabase and inserts the information into the list control. | |
The wxWidgets event table declaration. | |
Handles the mouse entering the list’s rectangle. |
| void ImportPlayers() |
Reads all the players from the PlayerDatabase and inserts the information into the list control.
|
| void ImportPlayers() |
|