Announcement

Collapse
No announcement yet.

Edit_GetText Caution

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Edit_GetText Caution

    This is just a caution regarding the Edit_GetText routine in the
    "COMMCTRL.INC" file distributed with PBDLL. This function returns
    the text of an Edit control as a STRING but be aware that a null
    character terminator is included. This has just given me problems
    so might I suggest that the final assignment in the function would
    be better as,

    FUNCTION = RTRIM$(buffer, CHR$(0))

    Keith



    ------------------

  • #2
    Keith,

    And your BEEF would be? This is just a PB wrapper which
    does the same thing in C in the windowsx.h header file.
    It's just doing what it's supposed to do. Apply your
    test outside the function if sz string is a prob.

    Cheers,
    Cecil

    ------------------

    Comment

    Working...
    X