資源簡介
《PowerBuilder 9.0進階開發(fā)篇》(實例與技巧篇)配書光盤使用說明
本光盤內容為本書所有實例的源代碼。如下:
第1章 窗口、控件與界面
1.1 類Outlook工具欄界面實現 -- Outlook
1.2 制作Splash窗口 -- Splash
1.3 制作美觀的狀態(tài)條 -- StatusBar
1.4 創(chuàng)建圖標欄應用 -- Systray
1.5 MDI窗口顯示背景圖片 -- MDIBmp
1.6 窗口中控件顯示ToolTips -- ToolTips
1.7 打造不一樣的命令按鈕 -- PictureButton
1.8 透明文本的實現 -- TransparentST
1.9 導航圖界面的制作 -- FlowChat
1.10 制作圖文并茂的菜單 -- BmpMenu
1.11 窗口內控件大小與窗口大小同步 -- Autosize
1.12 動態(tài)創(chuàng)建控件 -- DynamicControl
1.13 控件融合技術 -- SplitBar
第2章 數據窗口
2.1 數據窗口PDF格式文檔輸出 -- PDF
2.2 數據窗口組合條件查詢 -- Query
2.3 數據窗口通用排序 -- UniversalSort
2.4 數據窗口通用顯示列定制窗口的實現 -- ColumnVisible
2.5 數據窗口中實現增量查詢 -- zlcx
2.6 數據窗口的多表更新 -- UpdateMultable
2.7 單擊標題欄對數據窗口排序 -- TitleSort
2.8 動態(tài)數據窗口 -- DynamicDataWindow
2.9 復合數據窗口 -- AddTitle
2.10 數據窗口打印處理 -- PrintPreview/PrintPreview3
(PrintPreview和PrintPreview3內容是相同的,但在實現上有些區(qū)別)
2.11 數據窗口統(tǒng)計圖類型的動態(tài)改變 -- GraphType
2.12 數據窗口統(tǒng)計圖數值動態(tài)顯示的實現 -- GraphValue
2.13 數據窗口中按鈕的封裝 -- DwButton
第3章 PowerScript
3.2 實現客戶端程序的自動升級 -- CSUPgrade
3.3 進制轉換 -- NumberConvert
3.4 注冊表函數應用 -- Regedit
3.5 人民幣大寫轉換函數 -- AmountUppder
3.6 在應用程序中關閉外部程序 -- CloseApp
3.7 在應用程序中啟動控制面板項目 -- RunControl
3.8 非Tab分隔符文本文件導入數據窗口 -- ImportFile
3.9 編譯后的程序帶參數運行 -- CommandParm
3.10 取當月的最后一天函數 -- GetLastDay
3.11 限制同一程序多次運行 -- OnlyOnce
本章所使用的資源文件 -- pic
第4章 數據庫與SQL
4.2 PowerBuilder + ASA8的C/S編程 -- Client-Server
4.4 動態(tài)SQL及其應用 -- DynamicSQL
4.5 存取二進制大對象 -- Blob
4.6 PowerBuilder應用取服務器時間 -- GetServerTime
4.7 PowerBuilder擴展屬性系統(tǒng)表及其應用 -- SystemTable
4.8 連接任意ODBC數據源 -- ODBCList
4.9 可定制參數的數據庫連接 -- ServerSet
第5章 打印專題
通用打印例子 -- Print
第6章 用戶對象
6.1.1 創(chuàng)建定制的用戶對象(創(chuàng)建彈壓式按鈕) -- ToggleButton
6.1.2 創(chuàng)建標準的可視用戶對象(擴展的數據窗口) -- Datawindow
6.1.3 創(chuàng)建可視外部用戶對象(狀態(tài)條) -- StatusBar
6.2.2 創(chuàng)建通用不可視用戶對象(FTP應用) -- Ftp
第7章 API
7.2.1 改變窗口的顯示風格 -- ChangeWindow
7.2.2 使窗口的圖片透明化 -- TransW

代碼片段和文件信息
//?DllForPB9.cpp?:?Defines?the?initialization?routines?for?the?DLL.
//
#include?“stdafx.h“
#include?“DllForPB9.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
//
// Note!
//
// If?this?DLL?is?dynamically?linked?against?the?MFC
// DLLs?any?functions?exported?from?this?DLL?which
// call?into?MFC?must?have?the?AFX_MANAGE_STATE?macro
// added?at?the?very?beginning?of?the?function.
//
// For?example:
//
// extern?“C“?BOOL?PASCAL?EXPORT?ExportedFunction()
// {
// AFX_MANAGE_STATE(AfxGetStaticModuleState());
// //?normal?function?body?here
// }
//
// It?is?very?important?that?this?macro?appear?in?each
// function?prior?to?any?calls?into?MFC.??This?means?that
// it?must?appear?as?the?first?statement?within?the?
// function?even?before?any?object?variable?declarations
// as?their?constructors?may?generate?calls?into?the?MFC
// DLL.
//
// Please?see?MFC?Technical?Notes?33?and?58?for?additional
// details.
//
/////////////////////////////////////////////////////////////////////////////
//?CDllForPB9App
BEGIN_MESSAGE_MAP(CDllForPB9App?CWinApp)
//{{AFX_MSG_MAP(CDllForPB9App)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CDllForPB9App?construction
CDllForPB9App::CDllForPB9App()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CDllForPB9App?object
CDllForPB9App?theApp;
extern?“C“?_declspec?(?dllexport?)
int?PASCAL?Right_Move(int?xint?z)
{
????int?Right_Y;
????Right_Y=x>>z;
????return?Right_Y;
}
int?PASCAL?Left_Move(int?xint?z)
{
????int?Left_Y;
????Left_Y=x<
????return?Left_Y;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????94720??2003-06-11?13:38??PB進階工發(fā)篇\Chapter?1?Source\Autosize\autosize.pbl
?????文件????????110??2001-07-16?15:05??PB進階工發(fā)篇\Chapter?1?Source\Autosize\autosize.pbt
?????文件????????346??1997-12-04?11:59??PB進階工發(fā)篇\Chapter?1?Source\BmpMenu\about.bmp
?????文件??????40960??2003-06-05?08:10??PB進階工發(fā)篇\Chapter?1?Source\BmpMenu\bmpmenu.pbl
?????文件????????107??2001-06-24?17:36??PB進階工發(fā)篇\Chapter?1?Source\BmpMenu\bmpmenu.pbt
?????文件???????1334??2003-05-16?15:53??PB進階工發(fā)篇\Chapter?1?Source\BmpMenu\exit.BMP
?????文件???????1334??2003-05-16?15:55??PB進階工發(fā)篇\Chapter?1?Source\BmpMenu\help.bmp
?????文件???????1334??2003-05-16?15:56??PB進階工發(fā)篇\Chapter?1?Source\BmpMenu\home.bmp
?????文件???????1478??2003-05-16?15:57??PB進階工發(fā)篇\Chapter?1?Source\BmpMenu\new.BMP
?????文件???????1334??2001-06-24?21:54??PB進階工發(fā)篇\Chapter?1?Source\BmpMenu\new1.BMP
?????文件???????1418??2003-05-16?15:58??PB進階工發(fā)篇\Chapter?1?Source\BmpMenu\open.BMP
?????文件????????246??2001-06-24?17:35??PB進階工發(fā)篇\Chapter?1?Source\BmpMenu\save.BMP
?????文件??????28672??2003-05-16?17:25??PB進階工發(fā)篇\Chapter?1?Source\DynamicControl\dynamic_control.pbl
?????文件????????131??2001-06-04?10:56??PB進階工發(fā)篇\Chapter?1?Source\DynamicControl\dynamic_control.pbt
?????文件???????7083??1999-05-23?22:58??PB進階工發(fā)篇\Chapter?1?Source\FlowChat\book.gif
?????文件???????7061??1999-05-23?22:58??PB進階工發(fā)篇\Chapter?1?Source\FlowChat\Cash.gif
?????文件???????2102??2001-08-10?09:45??PB進階工發(fā)篇\Chapter?1?Source\FlowChat\down.bmp
?????文件????????630??2001-08-10?09:05??PB進階工發(fā)篇\Chapter?1?Source\FlowChat\down1.BMP
?????文件???????7478??2001-08-10?09:17??PB進階工發(fā)篇\Chapter?1?Source\FlowChat\download.BMP
?????文件???????3126??1999-05-28?15:29??PB進階工發(fā)篇\Chapter?1?Source\FlowChat\exit.bmp
?????文件??????80896??2003-06-05?08:07??PB進階工發(fā)篇\Chapter?1?Source\FlowChat\flow_chart.pbl
?????文件????????116??2001-06-06?09:03??PB進階工發(fā)篇\Chapter?1?Source\FlowChat\flow_chart.pbt
?????文件???????4548??1999-05-23?22:58??PB進階工發(fā)篇\Chapter?1?Source\FlowChat\key.gif
?????文件???????2102??2001-08-10?09:45??PB進階工發(fā)篇\Chapter?1?Source\FlowChat\left.bmp
?????文件????????630??2001-08-10?09:04??PB進階工發(fā)篇\Chapter?1?Source\FlowChat\left1.BMP
?????文件???????5723??1999-05-23?22:58??PB進階工發(fā)篇\Chapter?1?Source\FlowChat\people.gif
?????文件???????2102??2001-08-10?09:44??PB進階工發(fā)篇\Chapter?1?Source\FlowChat\right.bmp
?????文件????????630??2001-08-10?09:04??PB進階工發(fā)篇\Chapter?1?Source\FlowChat\right1.BMP
?????文件???????4707??1999-05-23?22:58??PB進階工發(fā)篇\Chapter?1?Source\FlowChat\sign.gif
?????文件???????2102??2001-08-10?09:45??PB進階工發(fā)篇\Chapter?1?Source\FlowChat\up.bmp
............此處省略509個文件信息
評論
共有 條評論