Sign Up

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here
Sign InSign Up

First independent community of traders

First independent community of traders Logo First independent community of traders Logo

First independent community of traders Navigation

  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • Buy Theme
  • Home
  • About Us
  • Blog
  • Contact Us
Home/ Questions/Q 3975
Next
In Process
dken
dken

dken

  • 4 Questions
  • 12 Answers
  • 0 Best Answers
  • 32 Points
View Profile
  • 0
dken
Asked: December 26, 20202020-12-26T14:02:48+00:00 2020-12-26T14:02:48+00:00In: Forex Expert Advisors

How to determine that the MT5 terminal is minimized and minimized and active (without WinAPI and dll)?

  • 0

Good afternoon, faced with such an interesting task that I need to determine that the terminal is currently inactive or minimized. Is there a way to determine without third-party DLLs and using WinAPI that the terminal is currently inactive or minimized. 

The need arose in order not to update the panel data on the chart at such times and not to waste resources on it.

PS. I want to immediately draw attention to the fact that I need to check for minimized and terminal in the background, and not the chart window, these are different things.

  • 4 4 Answers
  • 0 Followers
  • 0
Answer
Share
  • Facebook

    4 Answers

    • Voted
    • Oldest
    • Recent
    1. dken

      dken

      • 4 Questions
      • 12 Answers
      • 0 Best Answers
      • 32 Points
      View Profile
      dken
      2020-12-26T14:03:07+00:00Added an answer on December 26, 2020 at 2:03 pm

      Andrey Khatimlianskii:

      Did you check if the panel is redrawn?

      The idea is that it should be at the level of the terminal is implemented (disable update schedules in the collapsed state).

      perhaps you are right, I did not pay attention to it.

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    2. komposter

      komposter

      • 1 Question
      • 36 Answers
      • 0 Best Answers
      • 92 Points
      View Profile
      komposter
      2020-12-26T14:03:02+00:00Added an answer on December 26, 2020 at 2:03 pm

      Alexandr Gavrilin:

      The need arose in order not to update the panel data on the chart at such times and not to waste resources on it.

      Did you check if the panel is redrawn?

      The idea is that it should be at the level of the terminal is implemented (disable update schedules in the collapsed state).

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    3. vdev

      vdev

      • 1 Question
      • 42 Answers
      • 0 Best Answers
      • 100 Points
      View Profile
      vdev
      2020-12-26T14:02:57+00:00Added an answer on December 26, 2020 at 2:02 pm

      Alexandr Gavrilin:

      Good afternoon, faced with such an interesting task that I need to determine that the terminal is currently inactive or minimized. Is there a way to determine without third-party DLLs and using WinAPI that the terminal is currently inactive or minimized. 

      The need arose in order not to update the panel data on the chart at such times and not to waste resources on it.

      PS. I want to immediately draw attention to the fact that I need to check for minimized and terminal in the background, and not the chart window, these are different things.

      no way

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    4. alximiks

      alximiks

      • 1 Question
      • 11 Answers
      • 0 Best Answers
      • 52 Points
      View Profile
      alximiks
      2020-12-26T14:02:52+00:00Added an answer on December 26, 2020 at 2:02 pm

      A difficult question, perhaps there are functions with a side effect, which can be used to determine the state of the terminal window.
      Or maybe there are no such functions.

      Rather, we need the will of developers to implement new functionality.

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    Leave an answer

    Leave an answer
    Cancel reply

    Browse

    Sidebar

    Ask A Question

    Stats

    • Questions 504
    • Answers 2k
    • Posts 5
    • Comments 0
    • Best Answers 0
    • Users 676
    • Popular
    • Comments
    • Tags
    • forexcommunity

      Highlighting what’s important about questions & Answers on Discy Community!

      • 0 Comments
    • forexcommunity

      Introducing Keyboard Shortcuts, our first Labs feature

      • 0 Comments
    • forexcommunity

      Defining quality on Discy Engine — what a helpful answer ...

      • 0 Comments
    • forexcommunity

      Organizational and company accounts on Discy Engine the next step

      • 0 Comments
    • forexcommunity

      Hello world!

      • 0 Comments

    Related Questions

    • Brus Agell

      Правельный выбор

      • 0 Answers
    • pinupcasinoo

      Pin Up Casino

      • 0 Answers
    • c00l777

      During optimization, indicators that are not present in the robot ...

      • 2 Answers
    • c00l777

      During optimization, indicators that are not present in the robot ...

      • 0 Answers
    • c00l777

      Optimization results differ on different accounts

      • 3 Answers

    Users

    Geraldimaky

    Geraldimaky

    • 0 Questions
    • 0 Answers
    Jeffreytix

    Jeffreytix

    • 0 Questions
    • 0 Answers
    RobertFoeta

    RobertFoeta

    • 0 Questions
    • 0 Answers

    Footer

    First independent community of traders

    About

    An independent community of forex traders. This is where traders communicate. You can ask your questions and you will receive an answer to your question.
    • Terms of Use
    • Privacy Policy
    • Cookie Policy
    • Knowledge Base
    • Support

    © 2021 Forexcommunity.net. All Rights Reserved