Thread: How to change Windows Style

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User sean345's Avatar
    Join Date
    Mar 2002
    Posts
    346

    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?

    Thanks

    - Sean
    Last edited by sean345; 07-29-2002 at 07:34 PM.
    If cities were built like software is built, the first woodpecker to come along would level civilization.
    Black Frog Studios

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Unable to change the windows background color
    By Hawkin in forum Windows Programming
    Replies: 3
    Last Post: 12-29-2007, 01:31 AM
  2. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 07:05 PM
  3. Change a key in windows?
    By Rouss in forum Tech Board
    Replies: 3
    Last Post: 12-17-2004, 04:24 PM
  4. Codec Bitrates?
    By gvector1 in forum C# Programming
    Replies: 2
    Last Post: 06-16-2003, 08:39 AM
  5. Replies: 2
    Last Post: 09-04-2001, 02:12 PM