Im using CreateDialogParam, and i think windows automaticly sets the CS_DBLCLKS in the class style. How do i turn it off?
Posted on 2002-03-27 15:13:23 by ChimpFace9000
I remember that to change a window style is to use GetWindowLong(GWL_STYLE / GWL_EXTYLE) then OR it with a new style then use SetWindowLong. But I have no idea how to use it since I haven't tried it. :(
Posted on 2002-03-27 15:32:55 by stryker
I know about that, but i dont think you can use CS_* on it.
Posted on 2002-03-27 15:38:33 by ChimpFace9000
There's a SetClassLong as well.

Posted on 2002-03-27 15:51:06 by Thomas
ya stryker pretty much hit the spot but i think using the api thomas posted is probably more appropriate. something like this should work:
   invoke GetClassLong, hDialog, GCL_STYLE 

xor eax, [all your styles you still want go here]
invoke SetClassLong,hDialog, GCL_STYLE, eax
Posted on 2002-03-27 17:20:41 by smurf