Because of this, we should be extending the API on views::Widget and
views::Window to be more expressive and "do the right thing". Feel
free to add APIs to these interfaces in changelists if you find
something missing.

-Ben

On Tue, May 26, 2009 at 12:15 PM, Peter Kasting <[email protected]> wrote:
> On Tue, May 26, 2009 at 12:08 PM, Ben Goodger (Google) <[email protected]>
> wrote:
>>
>> It's always worth being more explicit about the specific set of SWP
>> flags you need, so please use SetWindowPos wherever you need to move a
>> HWND.
>
> Related: Don't call ShowWindow() and HideWindow().  Those screw with
> activation, which is rarely what you want.  WidgetWin has helper functions
> Show() and Hide() on it that do the Right Thing.   If you must make a
> Windows API call directly, then once again you should be using
> SetWindowPos().
> PK

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to