Results 1 to 4 of 4

Thread: different color for static text

  1. #1

    Thread Starter
    Hyperactive Member Amon Ra's Avatar
    Join Date
    Feb 2001
    Location
    In some cave on Uranus...
    Posts
    500

    different color for static text

    i beleive it is possible to have a chunk of text in a static of a certain color, and another chunk of another color.. how would i go about doing that?
    thanks
    Amon Ra
    The Power of Learning.

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    you can subclass the static control and handle the WM_PAINT message, but this effectively means you're creating a new control...

    It is not possible directly (to the best of my knowledge).
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    Hyperactive Member Amon Ra's Avatar
    Join Date
    Feb 2001
    Location
    In some cave on Uranus...
    Posts
    500
    ok, so to get started, is there any place to advice me to look at? i am curretnly looking at the plat. sdk stuff.. is there anywhere you think i should take a look?
    Amon Ra
    The Power of Learning.

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    I just thought about it... you could also create more than 1 static control - maybe dynamically.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

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