Create an ICON

I just wondered if it is possible to save a drawn image by OpenGL such that it can then be used as an Icon?
(VB says it should be *.ico or *.cur!?!?"

Thanks a lot for your help.

I believe you can render to a texture rather than the screen. Also I believe you should be able to save that texture as a new bitmap. You then could use any drawing package (even paint) to save as an icon.

Hope this helps

Thanks a lot for the help.

I did some searching on the Internet and found a software called IconForge that can be used to convert a BMP file to an ICO/CUR. So, I saved my OpenGL-generated image (as a BMP file) and then used IconForge to get the ICON.