Object got deselected - when cursor move to menu.

Respected member,
I am new to blender.
I can select multiple objects by keep pressing shift key and RMB , but when I move the cursor to menu all object get deselected only the first object selected was kept as selected …
Why this is happening ?
I hope I can explain what I means.
thanks in advance.