# Window Focus

**URL:** <https://forum.juce.com/t/window-focus/55363>\
**Category:** General JUCE discussion\
**Created:** [March 13, 2023, 3:31pm UTC](https://forum.juce.com/t/window-focus/55363 "2023-03-13T15:31:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![stephenk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/stephenk/32/15198_2.png) [@stephenk](https://forum.juce.com/u/stephenk)\
**Post date:** [March 13, 2023, 3:56pm UTC](https://forum.juce.com/t/window-focus/55363/2 "2023-03-13T15:56:24Z")

</div>

I have wrestled with this kind of thing as well. Are you talking about inside a plugin?

> [@Is it impossible to know when your plugin is brought to the front or gains focus?](https://forum.juce.com/t/is-it-impossible-to-know-when-your-plugin-is-brought-to-the-front-or-gains-focus/44948):
>
> It would seem so. AudioProcessorEditor::broughtToFront() (inherited from Component) - never called AudioProcessorEditor::focusGained() (inherited from Component) - never called Am I missing anything?

---

_[View the full topic](https://forum.juce.com/t/window-focus/55363)._
