Search found 24 matches: resol

Return to advanced search

Re: Resolution of monitor

Hi Natter,

Because of Display Setup (Scale and Layout is 125%)
Natter wrote:Hi,

The resolution of my monitor is 1920 x 1080. However, the ScrResolution() function returns
{ 1536, 864 }. Why ?

Image
by dutch
Thu Dec 23, 2021 4:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resolution of monitor
Replies: 29
Views: 2526

Re: Change/save Screen-resolution to Applic.-resol. at Runtime ?

Uwe Do You know, if the existing Resolution is written to a File or Registry ? Reg => HKEY_CURRENT_USER\Software\JOConnell\DeskTop You can define a registry storage name too. More info in the rtf info in the download. I have just been looking at some of Jamie oConnell's code on the website - undo...
by Jonathan Hodder
Thu Apr 07, 2011 10:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change/save Screen-resolution to Applic.-resol. at Runtime ?
Replies: 20
Views: 4649

Re: Changing Screen-resolution to Applic.-resol. at Runtime ?

Jonathan,

Thank You very much.
This Solution works fine for me.
Do You know, if the existing Resolution is written to a File or Registry ?
With 2 Monitors, I couldn't test.

Best Regards
Uwe :lol:
by ukoenig
Thu Apr 07, 2011 8:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change/save Screen-resolution to Applic.-resol. at Runtime ?
Replies: 20
Views: 4649

Re: Changing Screen-resolution to Applic.-resol. at Runtime ?

Uwe This is great! I downloaded a command line desktop restor from http://www.midiox.com/desktoprestore.htm and used the following at the start    IF nScrwidth <> 1024 .and. nScrheight <> 768      // Copyright   2010 by Jamie O'Connell http:/...
by Jonathan Hodder
Wed Apr 06, 2011 4:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change/save Screen-resolution to Applic.-resol. at Runtime ?
Replies: 20
Views: 4649

Re: Changing Screen-resolution to Applic.-resol. at Runtime ?

I still have a Question about the Position of Desktop-Icons. After changing the Screen-resolution it is possible, that Icons are displayed on different Places. For that Reason, there are some Freeware-prog*s available ( external ) to save and restore Icon-positions. Is it maybe possible, to do this ...
by ukoenig
Sat Apr 02, 2011 9:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change/save Screen-resolution to Applic.-resol. at Runtime ?
Replies: 20
Views: 4649

Re: Changing Screen-resolution to Applic.-resol. at Runtime ?

Thanks Uwe and Daniel, I compiled this example, but it does not do anything at all other than blinking the screen once each time I press the button. By the way I unplugged the extra monitors and only left one working, and still does not do anything... (this is weird, since I realize that it is Windo...
by Bayron
Fri Apr 01, 2011 8:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change/save Screen-resolution to Applic.-resol. at Runtime ?
Replies: 20
Views: 4649

Re: Changing Screen-resolution to Applic.-resol. at Runtime ?

Bayron wrote:Maybe it has something to do that I have 2 monitors???


yes maybe... i'll test in my home tonight...
by Daniel Garcia-Gil
Fri Apr 01, 2011 8:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change/save Screen-resolution to Applic.-resol. at Runtime ?
Replies: 20
Views: 4649

Re: Changing Screen-resolution to Applic.-resol. at Runtime ?

A better sample with Button-selection : ( The Exit-button restores to original Screen-resolution ) http://www.pflegeplus.com/pictures/scr4.jpg #include "FiveWin.ch"FUNCTION MAIN()LOCAL oWndMain, oFontLOCAL nScrwidth := GetSysmetrics( 0 ), nScrheight := GetSy...
by ukoenig
Fri Apr 01, 2011 8:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change/save Screen-resolution to Applic.-resol. at Runtime ?
Replies: 20
Views: 4649

Re: Changing Screen-resolution to Applic.-resol. at Runtime ?

Thanks Daniel, That is why I compiled Uwe's sample... I did not get the error, but the resolution does not changes.... By the way, the resolution in your sample should be supported in my system!!! http://www.mayapos.com/FiveWin/resolution.jpg Maybe it has something to do that I have ...
by Bayron
Fri Apr 01, 2011 8:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change/save Screen-resolution to Applic.-resol. at Runtime ?
Replies: 20
Views: 4649

Re: Changing Screen-resolution to Applic.-resol. at Runtime ?

Bayron you're trying set a mode not supported... DISP_CHANGE_SUCCESSFUL=  0      ;The settings change was successful.DISP_CHANGE_RESTART=     1  ;The computer must be restarted in order for the graphics mode to work.DISP_CHANGE_FAILED=     -1  ;The d...
by Daniel Garcia-Gil
Fri Apr 01, 2011 8:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change/save Screen-resolution to Applic.-resol. at Runtime ?
Replies: 20
Views: 4649

Re: Changing Screen-resolution to Applic.-resol. at Runtime ?

Daniel Garcia-Gil wrote:Byron

did you tested my sample?


Yes I did; I got a dialog Alert:
Image
by Bayron
Fri Apr 01, 2011 8:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change/save Screen-resolution to Applic.-resol. at Runtime ?
Replies: 20
Views: 4649

Re: Changing Screen-resolution to Applic.-resol. at Runtime ?

Am I missing something???

I Compiled Uwe's sample, but the resolution does not changes!!!!

When I press escape to exit, I see the screen blink, but nothing else happens!!!!
by Bayron
Fri Apr 01, 2011 7:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change/save Screen-resolution to Applic.-resol. at Runtime ?
Replies: 20
Views: 4649

Re: Changing Screen-resolution to Applic.-resol. at Runtime ?

Daniel, Thank You very much. This Function works GREAT without any Problems. As well the RESET, to restore the old Screen-resolution after finishing the Application. No Validation needed ( works in silent Mode ). It's funny, that calling original API-functions, making Problems. CHANGEDISLPAYRESOLUTI...
by ukoenig
Fri Apr 01, 2011 6:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change/save Screen-resolution to Applic.-resol. at Runtime ?
Replies: 20
Views: 4649

Re: Changing Screen-resolution to Applic.-resol. at Runtime ?

Hello it's a sample using the function from C #include "fivewin.ch"function main()? CHANGEDISLPAYRESOLUTION( 1440, 900 )return nil#pragma BEGINDUMP#include <hbapi.h>#include <windows.h>HB_FUNC( CHANGEDISLPAYRESOLUTION ){   DWORD dmBitsPerP...
by Daniel Garcia-Gil
Fri Apr 01, 2011 5:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change/save Screen-resolution to Applic.-resol. at Runtime ?
Replies: 20
Views: 4649
Next

Return to advanced search