필터 지우기
필터 지우기

how to prevent resize function called before mouse release?

조회 수: 1 (최근 30일)
Ramiro Massol
Ramiro Massol 2016년 2월 25일
답변: Cam Salzberger 2016년 2월 29일
hi I have a problem that was solved in the past but I forgot the solution. The problem is that I have a GUI that has an associated resize function that I want to execute after the mouse button is released, but it's actually called while resizing (i.e. dragging and holding down the mouse button). I was told that something in Windows has to be changed to block this bad behavior but I forgot.

답변 (1개)

Cam Salzberger
Cam Salzberger 2016년 2월 29일
Hello Ramiro,
GUI windows redrawing while changing the window size is related to the Windows setting, "Show window contents while dragging". Information on how to disable it on various operating systems may be found here.
I have tested this on Windows 10 as well, and the "systempropertiesadvanced" command still works, so that will probably be functional on Windows 8 and 8.1 too.
-Cam

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by