D
Don
I have two programs. One is supposed to bring the other (which is already
running either minimized or at the bottom of the window z-order) to the
front so that it becomes the foremost application. How do you do this?
I've tried using the API functions BringWindowToTop, SetForegroundWindow,
and SetWindowPos and can't get any of them to work reliably.
BringWindowToTop and SetForegroundWindow don't do anything, and SetWindowPos
only seems to work sometimes.
Does anyone have any code examples of how to bring a window to the front of
all other windows (of all applications, not just the application the window
is in)?
- Don
running either minimized or at the bottom of the window z-order) to the
front so that it becomes the foremost application. How do you do this?
I've tried using the API functions BringWindowToTop, SetForegroundWindow,
and SetWindowPos and can't get any of them to work reliably.
BringWindowToTop and SetForegroundWindow don't do anything, and SetWindowPos
only seems to work sometimes.
Does anyone have any code examples of how to bring a window to the front of
all other windows (of all applications, not just the application the window
is in)?
- Don