Bring window to the front

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Bring window to the front

rjuli...@gmail.com
OK... I feel I should know how to do this,
but I cannot find it.

Is there a way to bring a non-modal window to the forefront?

I know how to do it WITHIN an application, but I am hoping there
is a way to bring a window to the front of all other programs/windows.

My application is for Windows.

Thanks in advance,
Julian

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/d5790ac9-31a2-4d40-b5d0-9ba28e44a137%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Bring window to the front

SebastianHC
Hey Julian!

Sometimes win32api calls are not present in VASmalltalk.
You might have to implement your own CW and OSWidget methods to access the corresponding win32api functionality.
I know because I had to do this especially in the realms of GUI related functionality quite some time.
Would this one make you live better?

Check OSWHnd -> setForegroundWindow

I think, I know you well enough that this will not challenge you too much ;-)

Greetings from CampSmalltalk in Portland!
Sebastian


On 2019-10-04 11:36 a.m., Julian Ford wrote:
OK... I feel I should know how to do this,
but I cannot find it.

Is there a way to bring a non-modal window to the forefront?

I know how to do it WITHIN an application, but I am hoping there
is a way to bring a window to the front of all other programs/windows.

My application is for Windows.

Thanks in advance,
Julian
--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/d5790ac9-31a2-4d40-b5d0-9ba28e44a137%40googlegroups.com.


--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/d1ea07eb-47c1-89a9-aa6c-2a15d26b3813%40yahoo.de.
Reply | Threaded
Open this post in threaded view
|

Re: Bring window to the front

Seth Berman
Hi Julian...also from Camp Smalltalk in Portland:)

@see EtWindow>>bringToFrontĀ  Ā (and by extension...CwWidget>>bringToFront)

- Seth

On Sunday, October 6, 2019 at 11:05:02 AM UTC-4, Sebastian Heidbrink wrote:
Hey Julian!

Sometimes win32api calls are not present in VASmalltalk.
You might have to implement your own CW and OSWidget methods to access the corresponding win32api functionality.
I know because I had to do this especially in the realms of GUI related functionality quite some time.
Would this one make you live better?
<a href="https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setforegroundwindow" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fwin32%2Fapi%2Fwinuser%2Fnf-winuser-setforegroundwindow\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEB4SmNYDll0co0oPCyvFjadw2_kQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fwin32%2Fapi%2Fwinuser%2Fnf-winuser-setforegroundwindow\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEB4SmNYDll0co0oPCyvFjadw2_kQ&#39;;return true;">https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setforegroundwindow

Check OSWHnd -> setForegroundWindow

I think, I know you well enough that this will not challenge you too much ;-)

Greetings from CampSmalltalk in Portland!
Sebastian


On 2019-10-04 11:36 a.m., Julian Ford wrote:
OK... I feel I should know how to do this,
but I cannot find it.

Is there a way to bring a non-modal window to the forefront?

I know how to do it WITHIN an application, but I am hoping there
is a way to bring a window to the front of all other programs/windows.

My application is for Windows.

Thanks in advance,
Julian
--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/va-smalltalk/d5790ac9-31a2-4d40-b5d0-9ba28e44a137%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/va-smalltalk/d5790ac9-31a2-4d40-b5d0-9ba28e44a137%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/va-smalltalk/d5790ac9-31a2-4d40-b5d0-9ba28e44a137%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/va-smalltalk/d5790ac9-31a2-4d40-b5d0-9ba28e44a137%40googlegroups.com.


--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/d401c7f3-7de6-4b4e-b29f-161e6526dcc3%40googlegroups.com.