I'm sure there's a simple way to do it with SetWindowLong, but I just can't think of it .

//edit: does this help? http://beta.experts-exchange.com/Pro..._20304144.html