uNokSoft Group, PowerBuilder Library
Site Meter
- Win32 API for PowerBuilder
Chapter
Title
Sourc Code
Released Date
7
Datawindow to Excel
This library will help you to save datawindow reports to Excel file by using OLE technology. Now, it supports only tabular style report. But I think it would be able to reduce the development time of generating mass of the simple excel reports. :)

Download codes here PB6(updated 2006-04-25) PB9(updated 2006-04-24) PB10(updated 2006-04-25).




2006-04-25
6
Text-to-Speech, SAPI5.1
This demo will show you how to get the installed voices and speak through SAPI5.1(Win32 Speech API).
*you need to install SAPI5.1 SDK or Redistributables file from Microsoft
Get demo code here.


2005-07-10
5
Microsoft Web Browser(HTMLDocument)
This is the sample code to show how to view, edit values and submit the Web Page from PowerBuilder with OLE: Microsoft Web Browser. Get Source code here.

Thanks to Bluefrog for this article where I get started on this demo.

2005-06-19
4
Digital Clock on System tray
Demo was tested with WinME and Powerbuilder 6. Get PBL here.
2003-06-16
3
Irregular Shaped
for any controls.
Need 2 External Functions:
Function long SetIRShaped(long hWnd, string FileName, long RGB) Library "IrregularShaped.dll"
Subroutine unSetIRShaped(long hWnd, long handle) Library "IrregularShaped.dll"
get demo


2003-06-04
(LoadBitmap() - bug fixed)
2
Get Width, Height of System Metrics Function long GetSystemMetrics (long nIndex) Library "user32" Alias for "GetSystemMetrics"

long ll_caption_height

Constant long SM_CXSCREEN = 0
Constant long SM_CYSCREEN = 1
Constant long SM_CXVSCROLL = 2
Constant long SM_CYHSCROLL = 3
Constant long SM_CYCAPTION = 4
Constant long SM_CXBORDER = 5
Constant long SM_CYBORDER = 6
Constant long SM_CXDLGFRAME = 7
Constant long SM_CYDLGFRAME = 8
Constant long SM_CYVTHUMB = 9
Constant long SM_CXHTHUMB = 10
Constant long SM_CXICON = 11
Constant long SM_CYICON = 12
Constant long SM_CXCURSOR = 13
Constant long SM_CYCURSOR = 14
Constant long SM_CYMENU = 15
Constant long SM_CXFULLSCREEN = 16
Constant long SM_CYFULLSCREEN = 17
Constant long SM_CYKANJIWINDOW = 18
Constant long SM_MOUSEPRESENT = 19
Constant long SM_CYVSCROLL = 20
Constant long SM_CXHSCROLL = 21
Constant long SM_DEBUG = 22
Constant long SM_SWAPBUTTON = 23
Constant long SM_RESERVED1 = 24
Constant long SM_RESERVED3 = 26
Constant long SM_RESERVED2 = 25
Constant long SM_RESERVED4 = 27
Constant long SM_CXMIN = 28
Constant long SM_CYMIN = 29
Constant long SM_CXSIZE = 30
Constant long SM_CYSIZE = 31
Constant long SM_CXFRAME = 32
Constant long SM_CYFRAME = 33
Constant long SM_CXMINTRACK = 34
Constant long SM_CYMINTRACK = 35
Constant long SM_CXDOUBLECLK = 36
Constant long SM_CYDOUBLECLK = 37
Constant long SM_CXICONSPACING = 38
Constant long SM_CYICONSPACING = 39
Constant long SM_MENUDROPALIGNMENT = 40
Constant long SM_PENWINDOWS = 41
Constant long SM_DBCSENABLED = 42
Constant long SM_CXFIXEDFRAME = SM_CXDLGFRAME
Constant long SM_CYFIXEDFRAME = SM_CYDLGFRAME
Constant long SM_CXSIZEFRAME = SM_CXFRAME
Constant long SM_CYSIZEFRAME = SM_CYFRAME

// title bar height in pixel
ll_caption_height = GetSystemMetrics (SM_CYCAPTION)

// title bar height in powerbuilder unit
ll_caption_height = PixelsToUnits(ll_caption_height, YPixelsToUnits!)

2003-05-11
1
AppBar
::SHAppBarMessage()

Demo was tested with PowerBuilder 6, Win98SE. sample code

Appbar








2003-03-10