c# - SetWindowPos changes context menu size -


if context menu open in program being resized/repositioned it's size , position changed, there way around this?

example

popup menus operate own modal message loops. key-presses handled menu. mouse clicks either invoke menu items, navigate sub-menus, or close menu.

in short, there's no way user invoke move or size of window whilst menu running modal message loop.

because of this, designers of system don't care happens menu in scenario describe because there's no supported way scenario occur. it's happening because, guess, have timer calls setwindowpos on window owns menu.

the way around not move or size windows whilst have popup menus open.


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -