Toolstrip 第一次按鍵沒反應

解法1:

I think they I got around it (and this was years ago, so please excuse the hack) was to programatically give the focus to the toolbar in the MouseOver event.

解法2:

I had the same problem some times ago, and I found http://blogs.msdn.com/rickbrew/archive/2006/01/09/511003.aspx a solution. The idea is to overwrite 'WndProc' in a derived class ToolStripEx.

  1. ToolStrip sometimes not responding to a mouse click 陳鍾誠 (2011年12月13日),(網頁標題) Toolstrip 第一次按鍵沒反應,(網站標題) 免費電子書:C# 程式設計,2011年12月13日,取自 http://cs0.wikidot.com/toolstripclocknoresponse ,網頁修改第 1 版。

arrow
arrow

    Johnson峰 發表在 痞客邦 留言(0) 人氣()