Have you ever tried to do this ?

I cannot setup opengl properly. since the handle variable is unusable on the mdichild formcreate event.

thanks...