This simple SDI Notepad-like application demonstrates how, taking advantage of the MFC support for Unicode, to Turkmenize labels of the specified menu items. Actually, Turkmen is not supported by Windows 2000, therefore, to create such resources as menu so that strings in Turkmen could be displayed I had to invent an additional technique 這是一個與記事本類似的簡單的SDI應用程序,演示了怎樣使用MFC來支持 Unicode,對指定的菜單條目進行Turkmenize標簽化。實際上,Windwos 2000并不支持Turknen,因此,創(chuàng)建了那些菜單資源以便那些字符串可以在Turknen中顯示,為此我必須開發(fā)其它的技術。 來源: http://www.codeguru.com/advancedui/SDI_Note.html
I have written this article to capture a Windows image into a bitmap file that will support all PaintBrush tools and Thumbnail Views of Windows Explorer. I have found many programmers suffering from this problem, including me, until I wrote this article. 捕獲一個窗口圖像并存入一個支持MS畫筆的位圖文件中 我寫的這篇文章介紹了捕獲一個窗口圖像并存入一個支持所有畫筆和Windows Explorer的位圖文件中。 我發(fā)現許多程序員因這個問題而煩惱,包括我在內,直到我寫了這篇文章。 來源: http://www.codeguru.com/bitmap/WndToBmpFile.html
Displaying a large bitmap file on a dialog box, in its original size, is quite difficult in the VC++ environment. However, it is possible to display a large bitmap to a predefined area of the dialog by using the StretchBlt( ) function.The major disadvantage of this is that the clarity of the image will be lost. Check out this article for displaying large bitmaps into the desired area of your dialog box in its original size with a scrolling technique used to show the entire bitmap. 滾動顯示位圖 在VC++環(huán)境下,在一個對話框中顯示一個原始尺寸的大小的位圖文件相當是困難的。然而,通過使用 StretchBlt()函數一個給定的區(qū)域顯示一個大的位圖是可能的。主要的缺點是圖像將會失真。看了這篇通過卷動技術顯示整個位圖技術的文章,你將能夠以它的原始尺寸在給定對話框的區(qū)域內顯示一個大位圖。 來源: http://www.codeguru.com/bitmap/ScrollBitmap.html
This software was done in part for a textbook on AI I ve written called _The Basis of AI_ (tentative title, subject to change but not if I get my way). For details see: http://www.mcs.com/~drt/basisofai.html