Winstep

Software Technologies


 Winstep Forums


Print view
Board index : Winstep Forums : General Discussion  [ 2 posts ]
Author Message
 Post subject: Context menus appear under systray overflow popup window
PostPosted: Sun Jul 07, 2024 8:04 pm 
Offline

Joined: Fri Feb 14, 2014 2:21 pm
Posts: 5
As the title states, all context menus appear under the overflow notify popup window. Any way to work around this? Attached an image for context


Attachments:
Screenshot 2024-07-07 230424.jpg
Screenshot 2024-07-07 230424.jpg [ 22.38 KiB | Viewed 587 times ]
Back to top
 Profile  
 
 Post subject: Re: Context menus appear under systray overflow popup window
PostPosted: Mon Jul 08, 2024 11:01 am 
Offline

Joined: Fri Feb 14, 2014 2:21 pm
Posts: 5
Just to confirm that this is an issue with Nexus, I wrote an AutoHotKey script that activates the Notification Area Window at the mouse cursor position when the script is run:

Code:
#Requires AutoHotkey v2.0
#SingleInstance
Persistent

global avMousePosX, avMousePosY, NotifWidth, NotifHeight

Send "#b{Space}"
Sleep 200

notifyIconOverflowWindowHandle := DllCall("FindWindow","Str","NotifyIconOverflowWindow","Ptr",0)
overflowNotificationAreaHandle := DllCall("FindWindowEx","UInt",notifyIconOverflowWindowHandle, "UInt", 0, "str", "ToolbarWindow32","str", "Overflow Notification Area")

if overflowNotificationAreaHandle
{
CoordMode "Mouse", "Screen"
MouseGetPos &avMousePosX, &avMousePosY
WinGetPos , , &NotifWidth, &NotifHeight, "ahk_id " . notifyIconOverflowWindowHandle

DllCall("SetWindowPos","UInt",notifyIconOverflowWindowHandle ,"UInt",1,"Int",avMousePosX,"Int",avMousePosY,"Int",400,"Int",300,"UInt",0x0001)
Sleep 200
}


and the result is as expected, context menus have correct z-order (see attached image)


Attachments:
Screenshot 2024-07-08 140057.jpg
Screenshot 2024-07-08 140057.jpg [ 24.17 KiB | Viewed 555 times ]
Back to top
 Profile  
 
Post new topic Reply to topic Board index : Winstep Forums : General Discussion  [ 2 posts ]
Display posts from previous:  Sort by  

Who is online

Users browsing this forum: Majestic-12 [Bot] and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: