# ReactOS toolbar click issue traced to SetCapture mouse tracking

DevFeed: [ReactOS toolbar click issue traced to SetCapture mouse tracking](<https://devfeed.tech/articles/at-the-peak-of-the-mountain-there-s-a-hill-32765.md>)

Original publisher: [Read original article](<https://reactos.org/blogs/at-the-peak-of-the-mountain-theres-a-hill/>)

Published: 2014-04-15T00:00:00Z

Content type: article

Language: en

Sources: [Front Page on ReactOS Website](<https://devfeed.tech/sources/front-page-on-reactos-website.md>)

Topics: [Windows](<https://devfeed.tech/topics/windows.md>), [opensource](<https://devfeed.tech/topics/opensource.md>), [Toolbar](<https://devfeed.tech/topics/toolbar.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [free](<https://devfeed.tech/tags/free.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [os](<https://devfeed.tech/tags/os.md>), [react](<https://devfeed.tech/tags/react.md>), [reactos](<https://devfeed.tech/tags/reactos.md>), [toolbar](<https://devfeed.tech/tags/toolbar.md>), [win32](<https://devfeed.tech/tags/win32.md>), [winapi](<https://devfeed.tech/tags/winapi.md>), [windows](<https://devfeed.tech/tags/windows.md>)

## AI overview

A ReactOS development update discusses a toolbar click issue. The apparent cause was related to using SetCapture to track mouse movement over the toolbar; disabling that code allowed clicks through but stopped other features from working.

## Source excerpt

This week really didn't "start"; it was merely a continuation of the past weeks. The issue where the toolbar did not receive clicks was one of those annoying problems where finding the apparent cause is easy, but finding a solution not so much. The issue, as far as I could tell, was related to using SetCapture as a means to track the mouse movement on top of the toolbar. If I disabled that piece of code, the clicks got through, but - of course - other features stopped working.