E:\Visual_C__MFC擴展編程實例 例18
動態地抓取應用程序的屏幕圖像并將其打印。
上一個實例打印的是文檔的報表,而不是當前出現在屏幕上的內容。在本例中,將實現
屏幕抓取并打印其內容。M F C 為打印視提供了有限的支持, 但只要用M F C 在
C Vi e w : : O n D r a w ( )中所提供的設備環境,就可以繪制自己的視。在打印視的時候, M F C只需調
用具備打印機設備環境的O n D r a w ( )函數即可。但是,如果不繪制自己的視,例如,用一個或
者一個以上的控件窗口填充自己的視就不會打印任何東西。每個控件將使用自己的設備環境
將自己打印到屏幕,因此打印視的唯一途徑就是抓取屏幕(拷貝其內容到一個位圖對象)并將其
打印到打印機。由于該功能整個與位圖相關,因此將該功能封裝到了位圖類中。
This book is the most accurate and up-to-date source of information the STL currently available. ... It has an approach and appeal of its own: it explains techniques for building data structures and algorithms on top of the STL, and in this way appreciates the STL for what it is - a framework. Angelika Langer, Independent Consultant and C++ Report Columnist "A superbly authored treatment of the STL......an excellent book which belongs in any serious C++ developer s library." Jim Armstrong, President 2112 F/X, Texas. \n
The C++ Standard Template Library (STL) represents a breakthrough in C++ programming techniques. With it, software developers can achieve vast improvements in the reliability of their software, and increase their own productivity.
This book is intended for embedded system programmers, consultants and students interested in real-time operating
systems. μC/OS-II is a high performance, deterministic real-time kernel and can be embedded in commercial products
(see Appendix F, Licensing). Instead of writing your own kernel, you should consider μC/OS-II. You will find, as I
did, that writing a kernel is not as easy as it first looks.
php開發的行業搜索系統!!!
2. 安裝
------------
a. 解壓程序rar文件,用二進制方式上傳到你的網站的根目錄或某一目錄下
注意:一定要將ftp上傳工具設置為二進制方式,再上傳程序文件
b. unix或linux服務器下, 將以下文件屬性改為:666 (或777)
- function/base_info.php
- function/emphasis_info.php
- function/admin_pass_info.php
- function/search_info.php
- function/userfield_info.php
- template/default/目錄下的所有html文件
c. unix或linux服務器下, 將upfile/目錄屬性改為:777
d. 建立一個mysql數據庫,并記下用戶名和密碼,以便安裝時使用
e. 進入安裝目錄http://www.your_website.com/install/, 自動運行安裝程序
f. 安裝完成后,要求刪除安裝目錄install/及其下文件
g. 后臺管理目錄http://www.your_website.com/adiministrator/
h. 可修改adiministrator/目錄為你希望的獨特的名字