Announcement

Collapse
No announcement yet.

The difference between %EN_CHANGE and %EN_UPDATE?

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

  • The difference between %EN_CHANGE and %EN_UPDATE?

    This applies to DDT.
    In a callback, CB.CTLMSG is set to different values, for example
    %EN_SETFOCUS
    %EN_KILLFOCUS
    %EN_CHANGE
    %EN_UPDATE
    The first two I use in a good way.
    But what is the difference between %EN_CHANGE and %EN_UPDATE?
    Fim Wästberg

  • #2
    One of them is sent before displaying the change and the other after displaying the change.
    Rod
    "To every unsung hero in the universe
    To those who roam the skies and those who roam the earth
    To all good men of reason may they never thirst " - from "Heaven Help the Devil" by G. Lightfoot

    Comment


    • #3
      Fim,

      You really need to have the Microsoft reference data like the old win32.hlp file as it will explain what the differences are. Short of that MSDN is the best available but you have to go look for it through a mountain of other stuff.
      hutch at movsd dot com
      The MASM Forum

      www.masm32.com

      Comment


      • #4
        Steve,
        With Win32.hlp, you once again get into the old problem of reading * .hlp files under Windows 10.
        I know there is a way, have used it earlier, but do not remember (I'm too old to remember what I did yesterday).
        WinHlp32.exe does not work.
        Fim Wästberg

        Comment


        • #5
          I found "Help Explorer Viewer" using Google. Can read * .hlp files
          Fim Wästberg

          Comment


          • #6
            Originally posted by Fim Wästberg View Post
            I know there is a way, have used it earlier, but do not remember (I'm too old to remember what I did yesterday).
            Here we go: Using HLP files in Windows 10.
            „Let the machine do the dirty work.“
            The Elements of Programming Style, Brian W. Kernighan, P. J. Plauger 1978

            Comment


            • #7
              See PBWin Help for CONTROL ADD TEXTBOX. Those messages are explained in Remarks section.

              ((If you're going to use CONTROL GET TEXT use only %EN_CHANGE, then you won't get the old text for sure))
              Dale

              Comment


              • #8
                Dale,
                Thanks.
                Fim Wästberg

                Comment


                • #9
                  Fim,

                  http://masm32.com/board/index.php?topic=5201.0

                  This is worth keeping where you can find it. Makes running win32.hlp easy and its still the best to use for older API code.
                  hutch at movsd dot com
                  The MASM Forum

                  www.masm32.com

                  Comment


                  • #10
                    You can download a .CHM version of the Win32Help file from here

                    (You'll likely need to "Unblock" the file in Explorer - Right Click ~ Propeties/General )

                    Click image for larger version

Name:	UnBlock.PNG
Views:	46
Size:	6.2 KB
ID:	787015
                    Rgds, Dave

                    Comment

                    Working...
                    X