Visual change screen copy resolution

Visual change screen copy resolution

Postby Natter » Mon Oct 03, 2022 2:06 pm

Strange effect.
I make a copy of the screen and replace the screen of my FW window with it. Everything works. However, the image looks as if the screen resolution has decreased. What could it be ?

Code: Select all  Expand view
hWn:=GetDeskTopWindow()

    winDC:=FWSaveScreen(hWn, 0, 0, ;
                getdevicecaps(getDC(), 117), ;
                getdevicecaps(getDC(), 118))

  DEFINE DIALOG oLay  PIXEL  STYLE nOR(WS_POPUP)
  ACTIVATE DIALOG oLay   ON PAINT FWRestScreen(oLay:hWnd, winDC, 0, 0, ;
                                                      getdevicecaps(getDC(), 117), ;
                                                      getdevicecaps(getDC(), 118))
 
Natter
 
Posts: 1179
Joined: Mon May 14, 2007 9:49 am

Re: Visual change screen copy resolution

Postby karinha » Mon Oct 03, 2022 2:38 pm

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7591
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], RAMESHBABU and 40 guests