I need to make a window that is not written in MS the top most window.
It is a program like adobe photoshop.
Can someone help me out here
Thanks
top most window
Moderators: JRL, Dorian (MJT support)
top most window
Aaron
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Use the SetWindowPos API function:
http://allapi.mentalis.org/apilist/SetWindowPos.shtm
Search the forums for SetWindowPos and topmost and you will find some examples. While many of the examples work against Macro Scheduler dialog windows, they can be used with other windows also. Just use GetWindowHandle to get the window's handle to use in SetWindowPos.
http://allapi.mentalis.org/apilist/SetWindowPos.shtm
Search the forums for SetWindowPos and topmost and you will find some examples. While many of the examples work against Macro Scheduler dialog windows, they can be used with other windows also. Just use GetWindowHandle to get the window's handle to use in SetWindowPos.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
how to make the very topmost
I want to make the window on top of any other window that is programed to be topmost.
Is this possible? something like topmost + 2
Where is the help file on topmost or top most?
The last time I asked about where I could find other resorces I kind of hit some nerves in a few people.
I think that this software is great and that the support is great, but sometimes I feel like its very hard to get an answer.
Always being told to read the help files.
That was the first thing I did when I was trying out the software before I purchased it.
If there is a help file dealing with an issue please let us know where it is.
For instance, if I look up operator in the help file There is nothing found.
Although, I have found that if I go on line and look at the help file I get a different result at times.
Please try F1 then online help before posting a response.
I would love to ask less questions but just cant find the answers sometimes.
any response would be appreciated
Thanks
Is this possible? something like topmost + 2
Where is the help file on topmost or top most?
The last time I asked about where I could find other resorces I kind of hit some nerves in a few people.
I think that this software is great and that the support is great, but sometimes I feel like its very hard to get an answer.
Always being told to read the help files.
That was the first thing I did when I was trying out the software before I purchased it.
If there is a help file dealing with an issue please let us know where it is.
For instance, if I look up operator in the help file There is nothing found.
Although, I have found that if I go on line and look at the help file I get a different result at times.
Please try F1 then online help before posting a response.
I would love to ask less questions but just cant find the answers sometimes.
any response would be appreciated
Thanks
Aaron
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Hi,
You can't put a window above a topmost window. Windows has no such thing as topmost + 2. Raymond Chen's blog is great for explaining the internal workings of Windows, and why things are the way they are. Here's his piece on topmost:
http://blogs.msdn.com/oldnewthing/archi ... 95246.aspx
Thoroughly recommend his book "The old New Thing" by the way. For anyone wondering why Windows works the way it does, it is a great read.
None of my nerves have been hit by anyone ever asking where to get help. The help files will give you help and examples on every native MacroScript function. However, when dealing with the Windows 32 API, via the MacroScript LibFunc command you will need to look further afield. We cannot republish the entire Microsoft API documentation (not even sure if we would be allowed to). Same goes for the Microsoft VBScript docs. For API and VBScript help the definitive resource is microsoft.com. Our resources page (http://www.mjtnet.com/resources.htm) links to the VBScript documentation. A good source of API help is http://allapi.mentalis.org/apilist/apilist.php - the examples are in VB, but you can see how the functions work and what you can do with them and translate them to MacroScript.
But by far the best source of help is these forums. Just ask a question and someone will help. As you have seen there are lots of helpful people here.
>If there is a help file dealing with an issue please let us know where it is.
We do. If someone asks for help regarding a function I will always point them to the help file topic that deals with it and where necessary provide further clarification.
To be clear - you won't find anything in the help file on setting a window to topmost. The reason is that this is an advanced Windows 32 API thing, and not something any native Macro Scheduler function can do. However, the SetWindowPos function has been discussed before in these forums and you should find some posts mentioning it if you search for SetWindowPos.
You can't put a window above a topmost window. Windows has no such thing as topmost + 2. Raymond Chen's blog is great for explaining the internal workings of Windows, and why things are the way they are. Here's his piece on topmost:
http://blogs.msdn.com/oldnewthing/archi ... 95246.aspx
Thoroughly recommend his book "The old New Thing" by the way. For anyone wondering why Windows works the way it does, it is a great read.
None of my nerves have been hit by anyone ever asking where to get help. The help files will give you help and examples on every native MacroScript function. However, when dealing with the Windows 32 API, via the MacroScript LibFunc command you will need to look further afield. We cannot republish the entire Microsoft API documentation (not even sure if we would be allowed to). Same goes for the Microsoft VBScript docs. For API and VBScript help the definitive resource is microsoft.com. Our resources page (http://www.mjtnet.com/resources.htm) links to the VBScript documentation. A good source of API help is http://allapi.mentalis.org/apilist/apilist.php - the examples are in VB, but you can see how the functions work and what you can do with them and translate them to MacroScript.
But by far the best source of help is these forums. Just ask a question and someone will help. As you have seen there are lots of helpful people here.
>If there is a help file dealing with an issue please let us know where it is.
We do. If someone asks for help regarding a function I will always point them to the help file topic that deals with it and where necessary provide further clarification.
To be clear - you won't find anything in the help file on setting a window to topmost. The reason is that this is an advanced Windows 32 API thing, and not something any native Macro Scheduler function can do. However, the SetWindowPos function has been discussed before in these forums and you should find some posts mentioning it if you search for SetWindowPos.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?