Im using CreateDialogParam, and i think windows automaticly sets the CS_DBLCLKS in the class style. How do i turn it off?
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. :(
I know about that, but i dont think you can use CS_* on it.
There's a SetClassLong as well.
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