mfcの一部であるGetCapture()関数について読んでいます。ここに書かれているように、それが何をするのか、そしてマウスをキャプチャすることの意味についてはまだはっきりしていません。
http://msdn.microsoft.com/en-us/library/dxa5eaaa(v=vs.80).aspx
私の本では、次のように使用されています。
void CSketcherView::OnLButtonUp(UINY nFlags, CPoint point)
{
if(this == GetCapture())
ReleaseCapture(); // Stop capturing mouse messages
// ... add information to document
}
では、GetCapture()は何を返しますか?マウスを「キャプチャ」するとはどういう意味ですか?