Without showing what you have, it's hard to explain without
posting 200+ lines of code. You should have a basic application
set up. It should display a window. If you are lacking this,
look for Sunlights tutorial on www.cprogramming.com.
Somewhere in your program, there should be a messageloop.
In there you have to add another case label
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
switch( message )
return DefWindowProc( hWnd, message, wParam, lParam );
for WM_RBUTTONDOWN like this:
// do your displaying here
that should lead to your displaying being done whenever
someone presses the right mousebutton in your window.