Is there an C++ interface to know if the surface window is open?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024-10-11 12:58 PM
2024-10-11
12:58 PM
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024-10-11 03:00 PM
2024-10-11
03:00 PM
I'm not aware of any ACAPI function that can do this.
However I think it's possible to do it OS specific. E.g. on Windows you could use SetWindowsHookEx as described in this stackoverflow answer. It's an old answer, but WinAPI functionality is often still usable in the same way as some time ago in my experience. Haven't tested this specific function though.
Automating Archicad with Add-Ons, GDL-Objects & Python Archi-XT.com
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2024-10-11 05:51 PM
2024-10-11
05:51 PM
Okay, I'll take a look