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 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
Post a Comment