Winstep

Software Technologies


 Winstep Forums


Print view
Board index : Winstep Forums : General Discussion  [ 3 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 7750 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 7718 times ]
Back to top
 Profile  
 
 Post subject: Re: Context menus appear under systray overflow popup window
PostPosted: Wed Jul 24, 2024 12:59 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 12281
Are you running the dock 'always on top' ?

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
Post new topic Reply to topic Board index : Winstep Forums : General Discussion  [ 3 posts ]
Display posts from previous:  Sort by  

Who is online

Users browsing this forum: No registered users and 9 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: