Drawing 3D SQUARE box and Applying Texturing

Hi…
I want to draw 3D Square box and to apply texturing to it [ The Texture should look like actual switches in the panel ]

    I want to draw that 3D CUBE in MFC ActiveX Control using OpenGL ....

   Pls give a solution .....

Regards,
Balamurugan.

http://nehe.gamedev.net/ will have exactly what you’re looking for from how to set it up in MFC to how to draw quads and apply texture.

Thanks for your suggestion…

ThankYou Verymuch…

Regards,
Balamurugan P