| To: | "Getting Started" <gettingstarted at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Staggered Windows |
| From: | "Aaron Ballman" <aaron at realsoftware dot com> |
| Date: | Sun, 30 May 2004 11:04:36 -0500 |
| Delivered-to: | gettingstarted at lists dot realsoftware dot com |
| List-help: | <mailto:gettingstarted-request@lists.realsoftware.com?subject=help> |
| List-id: | Getting Started <gettingstarted.lists.realsoftware.com> |
| List-post: | <mailto:gettingstarted@lists.realsoftware.com> |
| References: | <20040530041639 dot 28B5E1F8963 at lists dot realsoftware dot com> <CDF7C77E-B251-11D8-B825-0003933D673A at kellerfarm dot com> |
> I have an app that staggers new windows in OSX, but not in Win32. How > can I make the windows staggered in Win32? There's two different things you can do to get your windows to reposition. You can use CascadeWindows to cascade all the windows. And to stagger them, you can call TileWindows. Both APIs are really similar, so here's the TileWindows one: Declare Sub TileWindows Lib "User32" ( parentWnd as Integer, how as Integer, rect as Integer, numKids as Integer, kids as Integer ) You can call it like this: TileWindows( 0, 1, 0, 0, 0 ) This will tile the windows horizontally. You can tile them vertically by making the 1 into a 0. HTH! ~Aaron _______________________________________________ Unsubscribe or switch delivery mode: <http://support.realsoftware.com/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Staggered Windows, Andrew Keller |
|---|---|
| Next by Date: | Re: Saving an EditField to text not rtf, Emile Schwarz |
| Previous by Thread: | Staggered Windows, Andrew Keller |
| Next by Thread: | Listbox Problem, Julio Mora |
| Indexes: | [Date] [Thread] [Top] [All Lists] |