Date: 02-16-2022
Return to Index
created by gbSnippets
API/Graphic Statements
------------------------
Get Display DC For Graphic Target: Graphic Get DC
Get Display DC For Any Control : GetDC (hCtrl)
Memory DC : CreateCompatibleDC
DIBSection : CreateDIBSection
Select hBMP/hDIB to DC : SelectObject
Get info On specific Object : GetObject
Get info On Current Object in DC : GetCurrentObject
DC Release (Window) : GetDC --> ReleaseDC
DC Release (Memory) : CreateCompatibleDC --> DeleteDC
DC Release (WM_Paint) : BeginPaint --> EndPaint
Copy One DC to Another DC : BitBlt
LoadImage hInst, lpszName, uType, cxDesired, cyDesired, fuLoad 'resource or OEM images
LoadBitmap hInst, lpBitmapName 'resource or pre-defined bitmaps
LoadIcon hInst, lpIconName 'resource or standard icon
FinResource hInst, lpName, lpType
LoadResource hInst, hResInfo 'pointer to resource to be loaded
LockResource HResInfo
SizeOfResource hInst, hResInfo
'gbs_00447
'Date: 03-10-2012
http://www.garybeene.com/sw/gbsnippets.htm