Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#196 ooDialog - update the EditControl

v3.2.0
closed
Mark Miesfeld
5
2012-08-14
2007-06-22
Mark Miesfeld
No

In ooDialog the EditControl represents the Windows Edit common control.

This class should be updated to the XP level for users running on XP. There are a couple of interesting features such as ballon tips and cues that would only be available on XP.

However, there are also a number of Edit styles and messages that are already available in the C functions. They simply aren't documented. Three quarters of the work for this RFE would merely be to document what is already implemented.

Discussion

  • Mark Miesfeld
    Mark Miesfeld
    2007-07-09

    Logged In: YES
    user_id=191588
    Originator: YES

    Committed revision 573

    This revision updates the ooDialog EditControl to the (almost) full functionality level of Windows XP. (There are a couple of obscure EN_ notifications and there are some EM_ messages still not implemented.)

    Support for the following was added:

    Styles:
    ES_NUMBER
    ES_OEMCONVERT

    AddStyle()
    RemoveStyle()
    ReplaceStyle()
    GetStyle()

    Messages:
    EM_HIDEBALLOONTIP
    EM_SHOWBALLONTIP
    EM_GETCUEBANNER
    EM_SETCUEBANNER

    HideBallon()
    ShowBallon()
    SetCue()

    In addition, examination shows that the following Edit Control styles are available (when using the addEntryLine() method) but were not documented:

    NOT WS_TABSTOP
    WS_GROUP
    ES_PASSWORD
    ES_NOHIDESEL
    ES_WANTRETURN

    I will update the documentation for these changes. (Keeping this in the open state until the doc changes have been made.)

     
  • Mark Miesfeld
    Mark Miesfeld
    2007-07-28

    Logged In: YES
    user_id=191588
    Originator: YES

    Committed revision 641.

    The ~selected method would only return character positions up to 65535. This commit changes the code so that the correct position is returned, up to the Windows maximum (a full 32 bit number.)

     
  • Mark Miesfeld
    Mark Miesfeld
    2007-09-10

    Logged In: YES
    user_id=191588
    Originator: YES

    Committed revision 745.

    This commit adds the getText method to the EditControl. The method returns the contents of the edit control's text buffer without truncating. It works the same for both a single-line and a multi-line edit control. It also has the advantage of having a more intuitive method name than title.

     
  • Mark Miesfeld
    Mark Miesfeld
    2007-09-15

    Logged In: YES
    user_id=191588
    Originator: YES

    Committed revision 763.

    This commit adds the setText method to the EditControl. It should have been added at the same time as getText.

     
  • Mark Miesfeld
    Mark Miesfeld
    2007-09-21

    Logged In: YES
    user_id=191588
    Originator: YES

    Committed revision 775.

    This was a doc commit. Added doc for the getText and setText methods, cleaned up some of the example code, and added an example for get / setText.

     
  • Mark Miesfeld
    Mark Miesfeld
    2007-09-21

    Logged In: YES
    user_id=191588
    Originator: YES

    Committed revision 778.

    This commit adds support to the showBalloon method for the user to specify the icon shown on the balloon tip.

    Committed revision 779.

    This commit was a doc update. Added the doc for showBallon, hideBallon, and setCue methods of the EditControl.

     
  • Mark Miesfeld
    Mark Miesfeld
    2007-09-23

    Logged In: YES
    user_id=191588
    Originator: YES

    Committed revision 782 and 790.

    Two doc updates. The ooDialog doc is now in sync with the code chages for this and I don't, at this point, intend to do any more with the edit control for 3.2.0.

     


Anonymous


Cancel   Add attachments