Date: 02-16-2022
Return to Index
created by gbSnippets
'Compilable Example: (Jose Includes)
#Compiler PBWin 10
#Compile EXE
#Dim All
%Unicode=1
#Resource Bitmap, 400, "cowgirl.bmp"
Global hDlg As Dword
%IDC_GraphicA = 500
%IDC_GraphicB = 501
Function PBMain() As Long
Dialog New Pixels, 0, "Show Image",500,400,250,150, %WS_OverlappedWindow To hDlg
'load from resource
Control Add Graphic, hDlg, %IDC_GraphicB, "",10,10,100,100
Graphic Attach hDlg, %IDC_GraphicB
Graphic Render 400, (0,0)-(99,99)
Dialog Show Modal hDlg
End Function
'gbs_01145
'Date: 03-10-2012
http://www.garybeene.com/sw/gbsnippets.htm