From: Sanjay Kulkarni on 13 Jun 2010 12:32 I'm programming an external app using VB6. The window menu of this app contains only two options - Cascade & TileVerical (there is no tile horizantal). This functionality is not exposed in the API of the app. What I can get is the hWnd of the application window. What I want to do is to arrange the multiple documents windows in that application - TileVertical / Cascade. I believe I will have to us WinAPI. I have searched for appropriate WINapi functions to perform this task. And I'm getting more and more confused. Especially I don't understand the parameters. Can somebody guide me and tell me the WinAPI functions I should use, and what values of parameters should I pass to those functions. Just to remind you, I have only hWnd of the main window of my external application. By the way, is there any resource that explains what the WinAPI function parameters mean?
From: mbyerley on 13 Jun 2010 12:55 http://msdn.microsoft.com/en-us/library/ff657751(v=VS.85).aspx "Sanjay Kulkarni" <sanganaksakha(a)gmail.com> wrote in message news:5d95431b-1ddc-413c-9bf4-d1c4ec1f3db3(a)42g2000prb.googlegroups.com... > I'm programming an external app using VB6. The window menu of this app > contains only two options - Cascade & TileVerical (there is no tile > horizantal). This functionality is not exposed in the API of the app. > What I can get is the hWnd of the application window. > > What I want to do is to arrange the multiple documents windows in that > application - TileVertical / Cascade. > > I believe I will have to us WinAPI. > > I have searched for appropriate WINapi functions to perform this task. > And I'm getting more and more confused. Especially I don't understand > the parameters. > > Can somebody guide me and tell me the WinAPI functions I should use, > and what values of parameters should I pass to those functions. > > Just to remind you, I have only hWnd of the main window of my external > application. > > By the way, is there any resource that explains what the WinAPI > function parameters mean?
From: Dee Earley on 14 Jun 2010 07:32 On 13/06/2010 17:32, Sanjay Kulkarni wrote: > I'm programming an external app using VB6. The window menu of this app > contains only two options - Cascade& TileVerical (there is no tile > horizantal). This functionality is not exposed in the API of the app. > What I can get is the hWnd of the application window. > > What I want to do is to arrange the multiple documents windows in that > application - TileVertical / Cascade. > > I believe I will have to us WinAPI. See the WM_MDITILE message > By the way, is there any resource that explains what the WinAPI > function parameters mean? MSDN library is the definitive source for Windows API documentation http://msdn.microsoft.com/library/ -- Dee Earley (dee.earley(a)icode.co.uk) i-Catcher Development Team iCode Systems (Replies direct to my email address will be ignored. Please reply to the group.)
|
Pages: 1 Prev: 'original' FileOpen Dialog Next: Using VB6 to respond to web page |