Old 10-14-2018, 08:38 AM   #1
Human being with feelings
Join Date: Jul 2009
Posts: 2,217
Default gfx.init returns HWND for script GUI

Several API functions that are applicable to script GUIs require window HWNDs, particularly the docking functions such as DockWindowAdd.

gfx.init currently only returns some undocumented integer value. It would be more helpful if gfx.init could instead return the HWND of the newly created GUI. (A nil or 0 return HWND could indicate failure.)
juliansader is offline   Reply With Quote
Old 10-15-2018, 08:44 AM   #2
Human being with feelings
mespotine's Avatar
Join Date: May 2017
Location: Leipzig, Germany
Posts: 671


this is very much needed.
With your extension, we could only get the HWND, if all gfx.init-windows currently opened have different names, so it would be really helpful to have the right HWND as well.
Ultraschall-API: https://forum.cockos.com/showthread....98#post2067798
Reaper Internals - Developerdocs for Reaper: https://forum.cockos.com/showthread.php?t=207635
mespotine is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 12:41 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.