How do I determine whether the scroll button is pressed or depressed and if so, depress it ! - page 5
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
int max = SendMessage ( hwndTaskbar, TB_BUTTONCOUNT, 0, 0);
Please tell me where to see all values of constants like: TB_BUTTONCOUNT, TB_ISBUTTONPRESSED ?!
I want to determine the button and its state !
What toolbar command can be used to scroll through the buttons and find the right one?
Has anyone done this?
The graphics window descriptor has been found:
I don't get it... What for?! I'm very surprised. Have you looked at my header? Not according to the code.
Any command from a chart is one function, one line of code.
I don't get it... What for?! I'm very surprised. Have you looked at my header? Not according to the code.
Any command from a chart is one function, one line of code.
OK, I'll look elsewhere for a solution to this question.
Sorry for the inconvenience.
OK, I'll look elsewhere for a solution to this issue.
Sorry for the inconvenience...
There, in the header, is a code and example.
Copy here what you consider an example for this question ?!
I only found this:
// 3.1.1 Function enables/disables auto-scrolling of the specified chart.
void ServiceAutoScroll(int hwndChart); // System descriptor of the chart window, on which autoscroll is disabled.
//=====================================================================================================================================================================
// 3.1.2. The function enables/disables the shift of the specified chart. If successful, method returns TRUE, otherwise - FALSE.
bool ServiceShift(int hwndChart); // System descriptor of the chart window, on which the shift is enabled/disabled.
But you don't need it !
Copy here what you think is an example on the subject ?!
If this function here, I still need its internals ...
// 3.2.1 The function returns the auto-scrolling state of the specified graph. If successful, the function returns TRUE, otherwise FALSE.
bool ServiceGetAutoScroll(int hwndChart); // System descriptor of the chart window, from which the auto-scroll state is returned.
Copy here what you think is an example on the subject ?!
I only found this:
// 3.1.1. The function enables/disables auto-scrolling of the specified chart.
void ServiceAutoScroll(int hwndChart); // The system descriptor of the chart window, on which the autoscroll is disabled.
// 3.1.2. function enables/disables the shift of the specified chart. The method returns TRUE if successful, otherwise FALSE.
bool ServiceShift(int hwndChart); // System descriptor of the chart window, on which the shift is enabled/disabled.
But you don't need it !
I wasn't talking about the library. But if it's about a library, there's a function:
I wrote above about WinUser32.mqh. The control codes are there.