CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: static text

  1. #1
    Join Date
    May 1999
    Posts
    7

    static text

    hai guys,

    I have to create a staic text at run time and place it on bitmap.

    The problem i am facing is the bitmap which has a combination of multiple

    colors.When i place the static text in a bitmap the color of the static text

    does not match with the bitmap which does not have a single color.

    How do i make the static text transparent so that it looks the same

    when i put it in any color. I have tried setbkmode as transparent in Onctlcolor

    it is not working. Please give me help.

    kals

    Thanks for reading the mail.

    Expecting a postivie Reply

    kals

  2. #2
    Guest

    Re: static text

    OK I'm still new at this but I think this should work!!! Use CreateWindowEX() to create the control and set the first argument to WS_EX_TRANSPARENT.


  3. #3
    Join Date
    Jul 1999
    Posts
    1

    Re: static text

    Does this work by using WS_EX_TRANSPARENT?


  4. #4
    Join Date
    May 1999
    Posts
    7

    Re: static text

    no guys it is not working.. when i given this style WS_EX_TRANSPARENT also






    Thanks for reading the mail.

    Expecting a postivie Reply

    kals

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