chronicsilence 12 Posted June 22, 2015 I know you can use the 'dialog' command (https://community.bistudio.com/wiki/dialog) to get a boolean value of whether a dialog is open over the main display. Does anyone know of a way to get a handle for the actual dialog object of the topmost dialog though? As in, the type of handle that would be returned by 'findDisplay'? Share this post Link to post Share on other sites
killzone_kid 1326 Posted June 22, 2015 Try allDisplays maybe. Share this post Link to post Share on other sites
chronicsilence 12 Posted June 22, 2015 Try allDisplays maybe. Is the first or last item in the array necessarily the topmost item? Share this post Link to post Share on other sites
killzone_kid 1326 Posted June 22, 2015 Is the first or last item in the array necessarily the topmost item? I would assume last, but best way is to store previous array and compare to new array when another display is opened. Share this post Link to post Share on other sites
pwner 35 Posted March 14, 2016 Apologies for the bump, but it appears that the idd of the currently opened dialog is the first one in the alldisplays array. The IDD of the dialog is -1. Share this post Link to post Share on other sites