Results 1 to 3 of 3

Thread: Differentiate setting text from setting caption

  1. #1

    Thread Starter
    Registered User Nucleus's Avatar
    Join Date
    Apr 2001
    Location
    So that's what you are up to ;)
    Posts
    2,530

    Differentiate setting text from setting caption

    I can set the caption of a window with SetWindowText, and can also do the same with SendMessage with WM_SETTEXT = &HC as the message.

    Now I actually want to set the text not the caption of the window. Any help appreciated.

  2. #2
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    What do you mean "the text"?

  3. #3
    jim mcnamara
    Guest
    Use the DrawText api to put text in a window. API Guide from allapi.net has examples. That what you meant? This creates graphic text, not editbox editable text. It will disappear at the next WM_PAINT.

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