Hi,
I get DC ( GetDC(hWnd) ) of one window and as a BRUSH for another window. How to do this ?
DC to BMP
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: DC to BMP
You know the other hWnd
Code: Select all
hBmp := WndBitmap( hWnd )
DEFINE BRUSH oBrush RESOURCE hBmp STRETCH
oYourWnd:SetBrush( oBrush )
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: DC to BMP
Thank you, it works !
I tried doing the same with FWRestScreen() and FWSaveScreen(). Also work
I tried doing the same with FWRestScreen() and FWSaveScreen(). Also work