Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Control キーが押されている場合、Winforms テキストボックスでスクロール ホイール イベントを処理したいと考えています。もちろんできますが、下にあるテキストボックスをスクロールしますが、どうにかしてこれを無効にすることはできますか?
コントロールがダウンしているときは、テキストボックスの WndProc をオーバーライドし、EN_VSCROLL メッセージを無視する必要があると思います。