Text box w/transparent bkgd flickers

This is a discussion on Text box w/transparent bkgd flickers within the Windows Programming forums, part of the Platform Specific Boards category; I have a textbox that I applied the WS_EX_TRANSPARENT style to, and a bitmap background for my main window. My ...

  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    22

    Text box w/transparent bkgd flickers

    I have a textbox that I applied the WS_EX_TRANSPARENT style to, and a bitmap background for my main window. My problem is that whenever I select text it flickers and sends a 'bar' across the screen on whichever line of text I'm selecting. Is there any way around this?

  2. #2
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,859
    Have you looked at the erase back ground mesage, WM_ERASEBKGND.

    I do not have a IDE atm so not sure what you should return, check MSDN. This should reduce the flicker.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  3. #3
    Registered User
    Join Date
    Apr 2007
    Posts
    137
    The answer had been given many times on microsoft.public.win32.programmer.ui...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 9
    Last Post: 02-13-2008, 02:59 PM
  2. Obtaining a value from a text box
    By thetinman in forum Windows Programming
    Replies: 1
    Last Post: 11-23-2006, 05:50 PM
  3. Getting my text from edit box
    By Marky_Mark in forum Windows Programming
    Replies: 2
    Last Post: 11-16-2001, 01:06 PM
  4. Outputting String arrays in windows
    By Xterria in forum Game Programming
    Replies: 11
    Last Post: 11-13-2001, 07:35 PM
  5. String from a text box
    By Garfield in forum Windows Programming
    Replies: 4
    Last Post: 09-16-2001, 04:20 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21