摘要: The __fastcall calling convention specifies that arguments to functions are to be passed in registers, when possible. The following list shows the implementation of this calling convention.
閱讀全文
摘要: 參數為False時返回當前窗口系統菜單(窗口標題欄右鍵彈出的移動、大小、最大化等)的句柄。
系統菜單是指我們點擊窗體左上角的小圖標時所彈出的菜單,其中好象有“恢復”.“移動”.“最大化”.“最小化”.“關閉”這么幾個按鈕.這個菜單用普通的方法是不能編輯與改變的,但是我們可以通過api函數getsystemmenu來得到它的句柄,然后通過菜單相關的api函數就能改變它了。
閱讀全文
摘要: CMenu類為Windows HMENU的封裝類。它提供了成員函數以用于創建、追蹤、更新及銷毀菜單。
閱讀全文