converting glut code to plain windows ogl code

hi, my problem is, when i port my graphic demo from glut to plain windows opengl code (i use the nehe basecode)
then blending doesn’t look nicely anymore, the code is exactly the same but is doesn’t look the same. please help!

How do you have your PIXELFORMATDESCRIPTOR set up? Could be the values you are passing are different from what glut automatically sets. Could also be that glut enables certain parameters. Otherwise, I dunno, but it has to be something you aren’t setting up as glut does.