WM_IsEnabledState() - there lacks this function in emWin

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • WM_IsEnabledState() - there lacks this function in emWin

      Hello.

      How to get the status whether the window is enabled or disabled?

      In emWin there is the function WM_SetEnableState(WM_HWIN hWin, int State) , but I think there lacks the opposite function like WM_IsEnabledState(), that should return this current "enabled/disabled" state of window.

      Or I did not find it?
      Best regards,
      Volodymyr.
    • Hi Volodymyr,

      the routine WM_IsEnabled() returns 1 if a window is enabled and 0 if it is not.

      Best regards,

      Florian
      Please read the forum rules before posting.

      Keep in mind, this is *not* a support forum.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.