Re: [AD] [ alleg-Bugs-3102940 ] Broken on Vista |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Window is placed on monitor on which you're working on.
http://msdn.microsoft.com/en-us/library/dd162827%28v=VS.85%29.aspx
W dniu 7 listopada 2010 08:28 użytkownik Thomas Fjellstrom
<tfjellstrom@xxxxxxxxxx> napisał:
> On November 6, 2010, Michał Cichoń wrote:
>> 2010/11/6 Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx>:
>> >> Is there any reason the user shouldn't just call
>> >> al_set_new_display_adapter(-1); and let the system choose?
>> >
>> > As far as I know, windows doesn't choose. Apps have to specify where to
>> > go them selves afaik.
>>
>> That's not true. If application specify position, Windows will follow,
>> but if you pass CE_USEDEFAULT as position Windows will choose location
>> for the window.
>
> But I don't think it does any kind of smart placement like X window managers
> do. At most it might put it in some sort of pile of windows on your primary
> monitor. Haven't tested it though.
>
> --
> Thomas Fjellstrom
> tfjellstrom@xxxxxxxxxx
>
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers
>
--
thedmd, Michał Cichoń
Artifex Mundi
michcic@xxxxxxxxxx
http://www.artifexmundi.com