[Win32] - why the child control don't accept '\t' text format?

This is a discussion on [Win32] - why the child control don't accept '\t' text format? within the Windows Programming forums, part of the Platform Specific Boards category; when i create a child control, how i have sure that the text can accept the text formating?('\n','\t' and others)...

  1. #1
    Registered User
    Join Date
    Aug 2013
    Posts
    158

    [Win32] - why the child control don't accept '\t' text format?

    when i create a child control, how i have sure that the text can accept the text formating?('\n','\t' and others)

  2. #2
    Registered User
    Join Date
    Aug 2013
    Posts
    158
    because the controls aren't prepared... only when we use the DrawText() or other GDI API functions.
    (when we use WM_DRAWITEM or the WM_PAINT, we can use the GDI API functions for that)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. [win32] - about child controls with text and image
    By joaquim in forum Windows Programming
    Replies: 15
    Last Post: 05-29-2014, 03:35 PM
  2. Child Window Text/Buttons Missing [WIN32 API/C++/VS 2010]
    By William Putnam in forum Windows Programming
    Replies: 3
    Last Post: 07-22-2013, 10:53 PM
  3. Child Window Text/Buttons Missing [WIN32 API/C++/VS 2010]
    By William Putnam in forum C++ Programming
    Replies: 0
    Last Post: 07-22-2013, 12:47 PM
  4. How to accept only certain text?
    By anchorblue804 in forum C++ Programming
    Replies: 3
    Last Post: 09-12-2012, 11:54 AM
  5. Edit control..win32..Changing the text?
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 12-19-2001, 12:41 AM

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