FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Visual change screen copy resolution
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Visual change screen copy resolution
Posted: Mon Oct 03, 2022 02: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 (fw): Select all Collapse
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))
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Visual change screen copy resolution
Posted: Mon Oct 03, 2022 02:38 PM
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341

Continue the discussion