How to capture related messages with C++ tool kit

how to capture related messages with C++ tool kit.

Subject: how to capture related messages with C++ tool kit

what messages?