dlhson wrote: extended styles of it as CS_DBLCLKS, WS_EX_CLIENTEDGE First off the CS_DBLCLKS is a CLASS style, not a window style the GetWindowLong, using the GWL_STYLE or GWL_EXSTYLE will only return you the window styles (i.e. WS_XXX ,or WS_EX_XXX) for CS_XXX you need to call GetClassLong( hwnd, GCL_STYLE ) As far as conmverting them to a string, I think you are stuck with a big if/else statement, sorry ! :)