makine use of selection result.

For picking,
it returns the number of hits, but what can i do with this information?
for example, let say a ball object is being picked,
I would like to color it grey. how do i do that??

im sorry, but since im new to this, try making the solution as simple to understand as possible.
Truely thankful…

When you are drawing stuff, you put numbers onto the name stack (glPushName/glPopName). When you look at the picking results, you get the contents of the namestack when a particular object was drawn - and can thus identify the object that was in the picking window. You then know what to draw differently.
Check out Chapter 12 of the red book for the full story on picking.