Page 1 of 1
Second Screen
Posted: 17 Jul 2015 05:26
by Barnowl
I am working on a system with two screens
fhMessageBox appears on the same screen as FH - or the plugin editor if debugging.
iup.GetParam always appears on Screen 1
Does anyone know of any way to control this behavior?
Re: Second Screen
Posted: 17 Jul 2015 07:11
by tatewise
fhMessageBox is an FH API function, whereas iup.GetParam is an IUP function, but I know of no way to control their screen position.
Are you asking about positioning those windows in other Plugins, or in your own Plugins?
Re: Second Screen
Posted: 17 Jul 2015 08:40
by Barnowl
Thanks Mike.
Its for my own plugin to fix up an import from Family Tree Maker
I suppose if I use iup.Alarm in place of fhMessageBox it will be consistent
Re: Second Screen
Posted: 17 Jul 2015 15:21
by tatewise
Yes, I suspect if you only use preconfigured IUP dialogues then they will be consistent.
A more sophisticated technique that I use for Plugins involves using the lower level IUP features to design the dialogues, then you can choose the co-ordinates of the window, but is probably overkill in your case.