Search found 22 matches: dual

Searched query: dual

by byron.hopp
Tue Jan 07, 2025 12:10 am
Forum: FiveWin for Harbour/xHarbour
Topic: GetDesktopWindow() on dual monitor system.
Replies: 10
Views: 902

Re: GetDesktopWindow() on dual monitor system.

I think I got it, I needed to refer to the hash variables h["nMonitor"] instead of h:nMonitor. Now I got my numbers. And life is good again.
Thanks again Antonio.
by byron.hopp
Mon Jan 06, 2025 10:27 pm
Forum: FiveWin for Harbour/xHarbour
Topic: GetDesktopWindow() on dual monitor system.
Replies: 10
Views: 902

Re: GetDesktopWindow() on dual monitor system.

I have this example of monitor information, but I don't know how to use it. Currently it displays and xbrowse window, how do I just get the information in an array so I can utilize it later. Don't need the xbrowse dialog.

Function Antonio()
EnumDisplayMonitors( { | nMonitor, hMonitor, hdcMonitor ...
by byron.hopp
Thu Sep 26, 2024 5:26 pm
Forum: FiveWin for Harbour/xHarbour
Topic: GetDesktopWindow() on dual monitor system.
Replies: 10
Views: 902

Re: GetDesktopWindow() on dual monitor system.

Works perfectly. Do you know the difference between aWorkRect vs (aMonitorRectInfo or aMonitorRect), this is more like what I saw on line I just had no idea how to implement the code. Thanks,
by Antonio Linares
Thu Sep 26, 2024 4:22 am
Forum: FiveWin for Harbour/xHarbour
Topic: GetDesktopWindow() on dual monitor system.
Replies: 10
Views: 902

Re: GetDesktopWindow() on dual monitor system.

Please let me know if it helps you or if you need something else.
by Antonio Linares
Thu Sep 26, 2024 4:17 am
Forum: FiveWin for Harbour/xHarbour
Topic: GetDesktopWindow() on dual monitor system.
Replies: 10
Views: 902

Re: GetDesktopWindow() on dual monitor system.

Minor editing again on the example code
by Antonio Linares
Thu Sep 26, 2024 4:11 am
Forum: FiveWin for Harbour/xHarbour
Topic: GetDesktopWindow() on dual monitor system.
Replies: 10
Views: 902

Re: GetDesktopWindow() on dual monitor system.

I have edited my previous answer with an example to test, thanks
by byron.hopp
Thu Sep 26, 2024 3:30 am
Forum: FiveWin for Harbour/xHarbour
Topic: GetDesktopWindow() on dual monitor system.
Replies: 10
Views: 902

Re: GetDesktopWindow() on dual monitor system.

Mr. Rao told me to try FW_VirtualScreen(), but I don't know if it works for more than two screens (I only have 2) . However I cannot successfully link my app with EnumDisplayMonitors() the linker can't find it. I did find several mentions of this function when googling the WinAPI for multiple ...
by Antonio Linares
Thu Sep 26, 2024 3:05 am
Forum: FiveWin for Harbour/xHarbour
Topic: GetDesktopWindow() on dual monitor system.
Replies: 10
Views: 902

Re: GetDesktopWindow() on dual monitor system.

Dear Byron,

monitors.prg
#include "FiveWin.ch"

function Main()

EnumDisplayMonitors( { | nMonitor, hMonitor, hdcMonitor, lPrimary, aMonitorRect, aMonitorRectInfo, aWorkRect | ;
XBrowser( { "nMonitor" => nMonitor,;
"hMonitor" => hMonitor,;
"hdcMonitor" => hdcMonitor,;
"lPrimary" => lPrimary ...
by byron.hopp
Wed Sep 25, 2024 7:49 pm
Forum: FiveWin for Harbour/xHarbour
Topic: GetDesktopWindow() on dual monitor system.
Replies: 2
Views: 405

Re: GetDesktopWindow() on dual monitor system.

You nailed it, Thank you.
by nageswaragunupudi
Wed Sep 25, 2024 7:32 pm
Forum: FiveWin for Harbour/xHarbour
Topic: GetDesktopWindow() on dual monitor system.
Replies: 2
Views: 405

Re: GetDesktopWindow() on dual monitor system.

Please open fwh\source\function\getsysin.prg:
Then please go through all the function under the heading
//----------------------------------------------------------------------------//
// MULTIPLE MONITORS FUNCTIONS ...
by byron.hopp
Wed Sep 25, 2024 6:55 pm
Forum: FiveWin for Harbour/xHarbour
Topic: GetDesktopWindow() on dual monitor system.
Replies: 2
Views: 405

GetDesktopWindow() on dual monitor system.

When I ask for the desktop windows on my dual monitor system I get the main monitor by GetWndRect( GetDesktopWindows() ). Is there a way to the the second or n monitors as well. I am trying to display multiple dialogs across the screens for a scheduling app and need to know how far I can go to the ...
by byron.hopp
Wed Sep 25, 2024 6:46 pm
Forum: FiveWin for Harbour/xHarbour
Topic: GetDesktopWindow() on dual monitor system.
Replies: 10
Views: 902

GetDesktopWindow() on dual monitor system.

When I ask for the desktop windows on my dual monitor system I get the main monitor by GetWndRect( GetDesktopWindows() ). Is there a way to the the second or n monitors as well. I am trying to display multiple dialogs across the screens for a scheduling app and need to know how far I can go to the ...
by Otto
Sat Jan 27, 2024 7:12 pm
Forum: FiveWin for Harbour/xHarbour
Topic: future of Rich Text Editor maybe time to start with WEBVIEW
Replies: 19
Views: 3277

Re: future of Rich Text Editor maybe time to start with WEBVIEW

Hello Detlef,
you are right, the example works perfectly in Webview2.
Check out the GIF.
We would now need to program a dual adapter, so that when working in the Webview, save2FWH is called, and otherwise the AJAX function.
Here is the link to enter your email. I will then send you the download link ...