Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command Line Usage #1

Open
freekey2 opened this issue May 8, 2024 · 1 comment
Open

Command Line Usage #1

freekey2 opened this issue May 8, 2024 · 1 comment

Comments

@freekey2
Copy link

freekey2 commented May 8, 2024

How do I get the value of the HWND of the window that I want to be on top?

FYI, actually the window that I want to make on top is a sub-window of another main program.

And it's not appearing in the Window List of your program. So is this possible?

And by using this Command Line Usage, is that means everytime that specific window is running, it will always be automatically on top?

Thank you.
20240509 072840_TopMost2

@Jerrylum
Copy link
Owner

Jerrylum commented May 15, 2024

Sorry for the late reply.

I understand your situation.

It is possible to set a sub window's topmost to true, but unfortunately, the window list couldn't show all the windows. This is because it only shows the main window handle of all the running processes; sub-windows are not included.

I think I can improve the software, and I might be able to study it this week.

And by using this Command Line Usage, is that means everytime that specific window is running, it will always be automatically on top?

No, because the window handle is different every time it reopens.

Additionally, I think you are trying to top most the "Filename:" sub-windows automatically, am I correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants