Hi
I have Extended screen include two Monitor. Just call A Monitor and B Monitor.
I run my App and display into A Monitor.
My App call out EXE and want to dispaly this out EXE into B Monitor.
FWH any function or Windows API support it?
Antonio Linares wrote:Richard,
https://stackoverflow.com/questions/13772688/autohotkey-launch-apps-on-specific-monitors
https://stackoverflow.com/questions/208266/how-do-you-control-what-monitor-your-application-opens-on?rq=1
https://stackoverflow.com/questions/52755/what-determines-the-monitor-my-app-runs-on?rq=1
Otto wrote:Hello Richard,
I save the coordinates of the main window and store these in an INI-file.
The user positions the window where he prefers and the next time the window opens exectly at this position.
With this coordinates the window opens on my right monitor.
Best regards
Otto
[FensterxWinhotelWINHOTEL]
Top= 189
Left= 2177
Height= 951
Width= 3590
Otto wrote:Hello Richard,
I save the coordinates of the main window and store these in an INI-file.
The user positions the window where he prefers and the next time the window opens exectly at this position.
With this coordinates the window opens on my right monitor.
Best regards
Otto
[FensterxWinhotelWINHOTEL]
Top= 189
Left= 2177
Height= 951
Width= 3590
How to know B Monitor Resolution?
nMonitors := FW_ActiveMonitors()
oMonitor := FW_GetMonitor( 2 )
? oMonitor:nLeft, oMonitor:nWidth, etc.
// and a lot more
DEFINE WINDOW oWnd ...
ACTIVATE WINDOW oWnd ON INIT oWnd:Move( nil, oWnd:nLeft + ScreenWidth(), nil, nil, .t. )
nWidth2 := GetSysMetrics( 78 ) - ScreenWidth()
? GetSysMetrics( 79 ) // --> Maximum of the heights of 1st and 2nd monitors
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 73 guests