c# - WPF NotifyIcon - ContextMenu Position -


im using wpf notifyicon codeproject. works fine noticed when compiling .net 4.0 contextmenu positioned above taskbar, it's fine .net 3.5:

.net 3.5

.net 3.5

.net 4.0

.net 4.0

i played around position values inside taskbaricon class contextmenu doesn't want in front of taskbar:

    contextmenu.placement = placementmode.absolutepoint;     contextmenu.horizontaloffset = cursorposition.x;     contextmenu.verticaloffset = cursorposition.y; 

i asked in comment section on codeplex page few weeks ago didn't receive answer.

does have solution or workaround this?

what use class determine location of task bar, , place context menu based on instead of cursor position.

how can determine programmatically whether windows taskbar hidden or not?


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -