Home

Topwiz Software

Anything is possible given enough time, money and Mountain Dew!

 
 
line decor
   
line decor
   
 

All examples include a PB8 and PB10 version. If you are using PB9, you can migrate the PB8 library.

Product Spotlight
Adapter

Bitmap

This program shows how to capture a bitmap of a control, window or screen. The image is returned as a blob variable which can be written to disk as a .bmp file. The capture function optionally will save the image to the clipboard. It also uses the RunAndWait object to load the .bmp into your image editor.

Click here to download the PowerBuilder sample: BITMAP.ZIP

Win API Functions used:

BitBlt
CloseClipboard
CreateCompatibleBitmap
CreateCompatibleDC
DeleteDC
EmptyClipboard
FormatMessage
GetDC
GetDesktopWindow
GetDIBits
GetLastError
GetTempPath
OpenClipboard
ReleaseDC
RtlMoveMemory
SelectObject
SetClipboardData

——— Last updated 12/16/2005 ———

Bitmap
ControlPanel
Cookiemgr
Crypto
DisplayIcon
DWGridXP
EmailSMTP
Filesys
Filetouch
FTPEdit
GetURL
Icontray
ImageList
Jagman
LDAPQuery
Mutex
Netquery
ODBC API
PBEditor
Ping
Rapi
RunandWait
Splitbars
Statbar
ValidLogon
Webbrowser
Winsock
Zlibwapi

PBSearch
The ultimate PowerBuilder search utility. Faster, more accurate and more capable than the built-in search tool.

PBNIServ
Do what was once impossible! Create a Windows Service program entirely in PowerBuilder without any API function calls.

PBOrcapi
The only product that allows you to write ORCA enabled programs with PowerBuilder. Works with PB6 & up as well as PocketBuilder.