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