Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to prevent activating a window
is it possible that , when setting the style of a window, this window can't be activated?

(the WS_EX_NOACTIVATE style)

what is the code for quickmacros please?!
Windows 2000/XP: A top-level window created with this style does not become the foreground window when the user clicks it. The system does not bring this window to the foreground when the user minimizes or closes the foreground window.

is it possible to do this with quickmacros?!
I tested SetWinStyle w1 WS_EX_NOACTIVATE 5 with two windows and it did not work. The style probably must be set when creating the window and cannot be changed later.

Forum Jump:

Users browsing this thread: 1 Guest(s)