Link something like toaster popup to specific window

Get help with using AutoHotkey and its commands and hotkeys
smbs
Posts: 6
Joined: 27 Feb 2014, 11:07

Link something like toaster popup to specific window

18 Jun 2017, 17:06

I want to create a toaster popup in a specific window at for instance top left corner that will move with the window if window is moved or resized.
Is this possible?
Many thanx
User avatar
Exaskryz
Posts: 1951
Joined: 17 Oct 2015, 20:28

Re: Link something like toaster popup to specific window

18 Jun 2017, 17:27

This is how I manage moving a window, though I think a better way was shared on the forums.

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

smbs
Posts: 6
Joined: 27 Feb 2014, 11:07

Re: Link something like toaster popup to specific window

20 Jun 2017, 14:22

Many thanx u set me on the right road and I sorted it out
FanaticGuru
Posts: 601
Joined: 30 Sep 2013, 22:25

Re: Link something like toaster popup to specific window

20 Jun 2017, 16:44

Below is an example of setting a window as a parent of a Gui.

Code: [Select all] [Expand] [Download] (Untitled.ahk)GeSHi © Codebox Plus

This will make a button on an Excel window that will then move, minimize, maximize, etc. with the parent window.

The key is DllCall("SetParent", "uint", Gui_Hwnd, "uint", Win_Hwnd).

FG
Hotkey Help - Help Dialog for Currently Running AHK Scripts

AHK Startup - Consolidate Multiply AHK Scripts with one Tray Icon

Google Search, Dictionary, Thesaurus - Quickly Get Information from Specific Web Resources

[Function] Timer - Create and Manage Timers

Return to “Ask For Help”

Who is online

Users browsing this forum: HakitoJin, jonathan scott james, krystiank, Stuff n Things, TheDewd and 34 guests