CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 1999
    Location
    Oregon, USA
    Posts
    26

    CEdit - How-to/Can-I

    Is there a way to make a CEdit control TRANSPARENT? I want the background of the entire control to be transparent. Since a CEdit is derived from a CWnd, shouldn't I be able to create the edit control with WS_EX_TRANSPARENT sytle? When I try this, I still have the same old white background. Can I do what I want? If so, how? This is getting frustrating.
    Be_ginner


  2. #2
    Join Date
    Jul 1999
    Posts
    535

    Re: CEdit - How-to/Can-I

    Transparent only means that if it's on top of another window, the window below it will not be obscured by the transparant window...
    You COULD re-write the control, but if there's an easier way, I'm sure someone else will speak up...


  3. #3
    Join Date
    May 1999
    Location
    CA, USA
    Posts
    586

    Re: CEdit - How-to/Can-I

    Follow this link and read through the comments at the bottom.

    http://www.codeguru.com/dialog/BmpDlg.shtml

    Rail

    ------------
    Recording Engineer/Software Developer
    Rail Jon Rogut Software
    http://home.earthlink.net/~railro/
    [email protected]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured