Search found 482 matches: monitor

Return to advanced search

WebView resize

... ValToChar(hTemp)) oWebView:Terminate() oWebView:Destroy() Do you think it would be more effective to use a timer to monitor for resize events from the HTML code? What does oWebView:SetSize() ? Best regards, Otto
by Otto
Fri Mar 08, 2024 10:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebView resize
Replies: 9
Views: 2099

Re: erase files

Insert a msginfo() before you delete the files and check with "Resource Monitor" the "Assoiated Handles" of your file. Open the Start menu, type "Resource Monitor" and press Enter. Switch to the "CPU" tab. Expand the "Associated ...
by Otto
Thu Jan 25, 2024 7:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: erase files - Resolved!!
Replies: 20
Views: 1544

Re: Resolution of monitor

seem a joke..... local nResHoriz := oWnd:nHorzRes() local nResVert := oWnd:nVertRes() where is oWnd ? I don't always have the main window where I can find the oWnd? Such a solution seems strange to me Hi Silvio, you must not take 'oWnd' but take your dialog: local  nResHoriz := oDlg:nHorzRes(&#...
by Detlef
Wed Jan 10, 2024 5:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resolution of monitor
Replies: 29
Views: 2550

Re: Resolution of monitor

I hope you understand now. I use different resolutions using RESOURCES, I calculate the coordinates in WORKSHOP.exe Espero que lo entiendas ahora. Utilizo diferentes resoluciones usando RECURSOS, calculo las coordenadas en WORKSHOP.exe // C:\FWH\SAMPLES\SILVRESO.PRG#include "FiveWin.ch"STA...
by karinha
Wed Jan 10, 2024 12:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resolution of monitor
Replies: 29
Views: 2550

Re: Resolution of monitor

// C:\FWH\SAMPLES\SILVRESO.PRG#include "FiveWin.ch"STATIC oWndFUNCTION Main()   LOCAL oBar   DEFINE WINDOW oWnd TITLE "Silvio Resolution"   DEFINE BUTTONBAR oBar _3D OF oWnd   DEFINE BUTTON OF oBar ACTION( Test_Resol( oWnd ...
by karinha
Wed Jan 10, 2024 12:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resolution of monitor
Replies: 29
Views: 2550

Re: Monitor function error

i.e. the resolution of ScreenWidth() is right the resolution of ScreenHeight() is bad compared to the screen resolution,there is a difference of 63

ScreenHeight() excludes the taskbar height, and gives the height available for our program's window/display.
by nageswaragunupudi
Wed Jan 10, 2024 11:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Monitor function error
Replies: 2
Views: 548

Re: Resolution of monitor

Dear Silvio,

Args:
[ 1] = U


oWnd is nil
by Antonio Linares
Wed Jan 10, 2024 11:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resolution of monitor
Replies: 29
Views: 2550

Re: Monitor function error

... in C:\FWH\source\function\getsysin.prg. These constants are designed to return the width and height of the client area for the primary display monitor, excluding the taskbar and other docked bars from the work area of the screen. What are your values if you move the taskbar to the left or right? ...
by Otto
Wed Jan 10, 2024 9:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Monitor function error
Replies: 2
Views: 548

Monitor function error

I made easy ?ScreenHeight(),ScreenWidth() and give me 961, 1280 the screen resolution is actually different as you can see on picture https://i.postimg.cc/0Qb1p1gR/errore-schermo.png How it's possible ? this is why one then makes a mistake in creating the dialogs in the right positio...
by Silvio.Falconi
Wed Jan 10, 2024 8:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Monitor function error
Replies: 2
Views: 548

Re: Resolution of monitor

Function test(oWnd) local nResHoriz := oWnd:nHorzRes() // retorna a resolucao horizontal local nResVert := oWnd:nVertRes() // retorna a resolucao vertical ? nResHoriz,nResVert Error occurred at: 01/10/24, 09:01:40 Error description: Error BASE/1004 No exported method: NHORZRES Args: [ 1] = U Stack C...
by Silvio.Falconi
Wed Jan 10, 2024 8:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resolution of monitor
Replies: 29
Views: 2550

Re: Resolution of monitor

        nResHoriz := oWnd:nHorzRes() // retorna a resolucao horizontal        nResVert  := oWnd:nVertRes() // retorna a resolucao vertical        // complete...        IF nResHoriz     = 1440 .AND. nResVert = 900 // RESOLUTION...           DEFINE DIALOG...        ELSEIF nResHoriz = ...
by Silvio.Falconi
Wed Jan 10, 2024 7:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resolution of monitor
Replies: 29
Views: 2550

Re: Resolution of monitor

        nResHoriz := oWnd:nHorzRes() // retorna a resolucao horizontal        nResVert  := oWnd:nVertRes() // retorna a resolucao vertical        // complete...        IF nResHoriz     = 1...
by karinha
Tue Jan 09, 2024 2:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resolution of monitor
Replies: 29
Views: 2550

Re: Resolution of monitor

it is better to use or


local nWd := GetSysMetrics(0) * .90
local nHt := (GetSysMetrics(1) / 2.1 )


or

local nHt := Int( ScreenHeight() * 0.55 )
local nWd := Int( ScreenWidth() * 0.90 )
by Silvio.Falconi
Tue Jan 09, 2024 9:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resolution of monitor
Replies: 29
Views: 2550

Re: Resolution of monitor

... ( tab10) 1920 x 1200 Pixel I have the dialog smaller and the button bar on too hight and it happens that in Win10 as in Win7, depending on the monitor, I have the buttonbar too high for a sample : if th emonitor resolution have 1280x 1024 run ok if I have the same resolution on a TAblet 10 ...
by Silvio.Falconi
Tue Jan 09, 2024 9:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resolution of monitor
Replies: 29
Views: 2550

Re: Resolution of monitor

Like in this example Jimmy. The problem is that it works on WINDOWS 7, but it doesn't work on WNDOWS 10, you know? Como en este ejemplo Jimmy. El problema es que funciona en WINDOWS 7, pero no funciona en WINDOWS 10, ¿Comprendes? // C:\FWH..\SAMPLES\RESOLU2.PRG#include 'fivewin.ch'#Include "dl...
by Horizon
Tue Jan 09, 2024 8:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resolution of monitor
Replies: 29
Views: 2550
Next

Return to advanced search