How to change Windows Style
I have a rich edit control on my text editor Window. I want to be able to implement a word wrap mode for my text editor. I need to be able to change the window style after the window has been created. I took a look at SetWindowLong, but it does not seem to change the window style. I tried changing window by using the SetWindowLong function but it does not seem to work. I was wondering if I had to call another function after this or if this was the correct function to use.
I tried adding UpdateWindow and ShowWindow afterwards just in case, but it is not working. Does anyone know how to do this?