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?
* Second Screen
Second Screen
Ian Johnson - researching Bain, Batley, Elsden, Ewen and Johnson families and the village of Easton Royal
(i>
(i>
- tatewise
- Megastar
- Posts: 27088
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Second Screen
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?
Are you asking about positioning those windows in other Plugins, or in your own Plugins?
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Re: Second Screen
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
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
Ian Johnson - researching Bain, Batley, Elsden, Ewen and Johnson families and the village of Easton Royal
(i>
(i>
- tatewise
- Megastar
- Posts: 27088
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: Second Screen
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.
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.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry