Hello...
Experimenting with macro programs.
Wondering how to get a window handle based on a user inputted name of the window?
Thank you so much!
Sincerely,
Jim
Hello...
Experimenting with macro programs.
Wondering how to get a window handle based on a user inputted name of the window?
Thank you so much!
Sincerely,
Jim
FindWindow().
Code:#include <cmath> #include <complex> bool euler_flip(bool value) { return std::pow ( std::complex<float>(std::exp(1.0)), std::complex<float>(0, 1) * std::complex<float>(std::atan(1.0) *(1 << (value + 2))) ).real() < 0; }
You may find it easier to have the user click on the desired window. There are lots of exaples available for this method. I haven't tried it, but I have seen it used a lot.
Best Regards,
Bonkey