Article View: borland.public.cppbuilder.nativeapi
Article #8503Re: Position WinHelp mainwindow in multi monitor system
From: JF Jolin
Date: Tue, 19 Oct 2004 19:54
Date: Tue, 19 Oct 2004 19:54
45 lines
2174 bytes
2174 bytes
17 Oct 2004 17:19:38 +0200, Wiebe Vos, Foxware wrote: > Thanks, however SetWindowPos ( HWND, etc ), with what Handle and when? > > Wiebe G. Vos > > "JF Jolin" <jfj@nospam.com> schreef in bericht > news:opsfzshzixz6rw7b@newsgroups.borland.com... >> 15 Oct 2004 12:36:01 +0200, Wiebe Vos, Foxware wrote: >> >>> BCB4 + All updates. >>> >>> In a multi monitor system (all minitors attached to one videoadaptor), >>> Screen->MonitorCount=1 and Screen->Width yields the sum of the >>> width of all monitors. >>> The (classic) WinHelp mainwindow allways pops up with a Width >>> "stretched" towards the right edge of the rightmost monitor, which >>> is very much undesireable.. >>> Is there a way to correct the "popup" position and size of this >>> WinHelp mainwindow at run time? >>> >>> Thanks in advance, >>> Wiebe G. Vos >>> >>> >>> >> >> >> SetWindowPos() might be used punctualy. >> >> -- JF Jolin >> [Montreal, Canada] > > > Moving and resizing a window can be accomplish whenever that action is required. That is what I meant with punctualy. GetWindow() or FindWindow() might be used to obtain a window's handle. -- JF Jolin [Montreal, Canada]
Technical Details
Message-ID:
<opsf4uxgkwz6rw7b@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!newsfeed.icl.net!newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<416fa815@newsgroups.borland.com> <opsfzshzixz6rw7b@newsgroups.borland.com> <41728d90@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c58a63658af2490d X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Position WinHelp mainwindow in multi monitor system References: <416fa815@newsgroups.borland.com> <opsfzshzixz6rw7b@newsgroups.borland.com> <41728d90@newsgroups.borland.com> Message-ID: <opsf4uxgkwz6rw7b@newsgroups.borland.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed From: JF Jolin <jfj@nospam.com> MIME-Version: 1.0 Date: Tue, 19 Oct 2004 15:54:42 -0400 User-Agent: Opera7.11/Win32 M2 build 2887 NNTP-Posting-Host: 66.158.145.179 X-Trace: newsgroups.borland.com 1098215684 66.158.145.179 (19 Oct 2004 12:54:44 -0700) Lines: 45 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!newsfeed.icl.net!newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail