[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: raise-frame sends lowers another Windows app's frame
From: |
Eli Zaretskii |
Subject: |
Re: raise-frame sends lowers another Windows app's frame |
Date: |
Sat, 12 Aug 2006 15:20:51 +0300 |
> Date: Tue, 08 Aug 2006 09:35:00 +0100
> From: Jason Rumney <address@hidden>
> Cc: Emacs-Devel <address@hidden>
>
> Does it make a difference if you replace the above code with:
>
> HDWP handle = BeginDeferWindowPos (2);
> if (handle)
> {
> handle = DeferWindowPos (handle,
> FRAME_W32_WINDOW (f),
> HWND_TOP,
> 0, 0, 0, 0,
> SWP_NOSIZE | SWP_NOMOVE | SWP_NOACTIVATE);
> }
> if (handle)
> {
> handle = DeferWindowPos (handle,
> GetForegroundWindow (),
> FRAME_W32_WINDOW (f),
> 0, 0, 0, 0,
> SWP_NOSIZE | SWP_NOMOVE | SWP_NOACTIVATE);
> }
> if (handle)
> {
> EndDeferWindowPos (handle);
> }
This change wasn't committed. Drew, can you post a simple test case
to reproduce the problem? Then I could try it before and after the
change, and see if Jason's suggestion helps.