« 電影心得~~萬惡城市(Sin City) | 回到主頁面 | 讀書心得~~與熊共舞(Waltzing with Bears) »

June 15, 2005

"CodeProject" the best practic of VisualC++ and .NET framework


將此網頁加入【百度收藏】... 加入此網頁到【del.icio.us 書籤】 technorati

The Code Project

說起CodeProject,大概學習VC++與.NET的人都不會不知道的一個好網站。裡面有個蠻好用的專案CTreeProperty算是相當好使用的專案之ㄧ,可以簡單秀出如下圖一樣的Dialog.

Windows XP - Aqua - screenshot

(PIC: CTreePropSheet - A Netscape/Visual Studio .NET like Preferences Dialog)

讓我困擾許久的是~~如何搞出Minimize Button 呢?後來找到答案了

BOOL CTreePropSheet::OnInitDialog()
{
......

::SetWindowLong( m_hWnd, GWL_STYLE, GetStyle() | WS_MINIMIZEBOX );
GetSystemMenu( FALSE )->InsertMenu( -1, MF_BYPOSITION | MF_STRING, SC_ICON, "Minimize" );
DrawMenuBar();

感謝need_help 提供



VC6相關問題

由 Evan 發表於 June 15, 2005 將此網頁加入【百度收藏】... 加入此網頁到【del.icio.us 書籤】 technorati
引用
本文的引用網址:


以下是前來引用的連結 '"CodeProject" the best practic of VisualC++ and .NET framework' 來自 Blog E
迴響
發表迴響









記住我的資訊?




(請輸入以下的驗證碼)