I thought that the POP3 retrieval command had a parameter on it that would delete the messages in the Inbox once they had been retrieved?

If not, then use of the POP3 delete command will allow a message to be removed from the Inbox.

Removal from the ListBox is JASMOP - but you probably need to count through the list box backwards, and remove selected items.