CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2003
    Posts
    938

    Limits on controls

    Hello.
    I was wondering where i can get limits to stuff outputed into the folllowing controls:
    edit box
    rich edit box
    memo box
    listview

    and also if there is any character set limitation ..like only alphanum characters output...
    Thx

  2. #2
    Join Date
    Mar 2004
    Location
    (Upper-) Austria
    Posts
    2,899

    Re: Limits on controls

    Listview does not have any limitiations regarding to how many items it can store or the length of the text per item. But the edit control understads ES_UPPERCASE for uppercase characters only, ES_LOWERCASE for lowercase characters only and ES_NUMBER for number's only. ES_UPPERCASE and ES_LOWERCASE converts the input if possible and ES_NUMBER only allowes digits to be entered.

    And by the way: What is a memo control?
    I am not offering technical guidiance via email or IM
    Come on share your photo with us! CG members photo album!
    Use the Code Tags!

  3. #3
    Join Date
    Mar 2004
    Location
    (Upper-) Austria
    Posts
    2,899

    Re: Limits on controls

    Oh I forgot EM_LIMITTEXT can be used to limit the text that can be entered into an edit control. This attribute can be read by using EM_GETLIMITTEXT.

    Best Regards
    I am not offering technical guidiance via email or IM
    Come on share your photo with us! CG members photo album!
    Use the Code Tags!

  4. #4
    Join Date
    Aug 2003
    Posts
    938

    Re: Limits on controls

    Memo control...it is from Borland environemnt...itis clasified as win32api control...what is it..it is type of richedit control...

    what about rich edito control, does it have any limitations?

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