Forum Discussion
nishay_patel
11 years agoOccasional Contributor
Thanks for the reply, Ryan.
Let me clarify a little further. I only need the SetWindowPos function to make a window the topmost window on the screen, not move the window around the screen.
Specifically, I need the constant "HWND_TOPMOST".
Otherwise, the window I am trying to show gets hidden behind other windows, like the browser. See my first post, and the link to my previous problem that led to this one. The "form" i refer to in my code is actually a modal form in TestComplete.
The answer that Alex left in the post in the link above was spot on, but since Win32API is unavailable for script extensions, I need another method that will bring the form window to the top most level.
Let me clarify a little further. I only need the SetWindowPos function to make a window the topmost window on the screen, not move the window around the screen.
Specifically, I need the constant "HWND_TOPMOST".
Otherwise, the window I am trying to show gets hidden behind other windows, like the browser. See my first post, and the link to my previous problem that led to this one. The "form" i refer to in my code is actually a modal form in TestComplete.
The answer that Alex left in the post in the link above was spot on, but since Win32API is unavailable for script extensions, I need another method that will bring the form window to the top most level.
Related Content
- 15 years ago
- 3 years ago
Recent Discussions
- 4 days ago
- 4 days ago