object select problem..

hi…
I working programing with openGL and VC++6.0
I want to do select object, but I don’t know
follow problem.
In my program, i can select object which use glucylinder function, but i can not select object which use glBegin(GL_POLYGON)…glEnd() function…
When I create object with glucylinder, i can collect hits, but when i create object with polygon i cannot collect hits.
so in my opnion, objcet which created using glucylinder function is recognized object,
but object which created using glBegin()…glEnd() function is not recognized object…
how can i collect hits for creating object with glBegin(GL_POLYGON)…glEnd() ?

i attaced my source code…
GLUquadricObj * obj;
obj = ::gluNewQuadric();
glLoadName(1);
::gluCylinder(obj, SCENE_SCALE / 4.0 , 0.0, SCENE_SCALE / 3.0 , 20, 20); //<= this object is collected hits
// hits is return value of glRenderMode(GL_RENDER)
::gluDeleteQuadric(obj);

glPolygonMode(GL_FRONT_AND_BACK,GL_FILL);
glPushMatrix();
glLoadName(2);
glBegin(GL_POLYGON); // &lt;= this object cannot collect hits
	glVertex3f(0.0f, 0.0f,0.0f);
	glVertex3f(5.0f, 0.0f,0.0f);
	glVertex3f(5.0f, 2.0f,0.0f);
	glVertex3f(0.0f, 2.0f,0.0f);
glEnd();
glPopMatrix();