MFC中複選框CheckBox的基類是CButton! 得到複選框狀態的函數:CButton* pBtn = (CButton*)GetDlgItem(IDC_CHECK_MIXI); int state = pBtn->GetCheck(); 當state == 0時表示該複選框沒有被選中; 當state == 1時表示該複選框被選中; 當state == 2時表示不確定(applies only if
看了寒楓天傷 瘋狂亂評:UML工具後,下載了Borland together For VS.NET看了看,效果還真不錯。不過,如作者所說,由於Java開發的,資源佔用很大,不過嘛,只要電腦配置好一點就沒多大問題。 以下是我工程中的一部分子程式(測試用的)的Diagram圖: 就可以看出這些類之間的關係,黑色線表示類之間的繼承關係,彩色線代表類之間的介面關係,而這些都是軟體自動產生的,我只是稍改了布局而已,所以非常方便。
驗證視圖MAC失敗 Validation of ViewState MAC Failed 今天在調試Atlas時遇到錯誤:驗證視圖MAC失敗。如果此引用程式由網路場或群集承載,請確保<machineKey>配置指定了相同的 validationKey 和驗證演算法。不能在群集中使用 AutoGenerate發生錯誤的環境:ASP.NET
Today, we want to talk about a little known feature in Windows Server 2008 R2 that could be described as RemoteApp for Hyper-V. Like Microsoft RemoteApp, it allows users to access a specific hosted application remotely, as opposed to the entire
這兩天搞nodejs與websocket的整合,弄了2天-用戶端和伺服器端就是不能通訊。在不同瀏覽器下表現的還不一樣,Firefox (v6)如果你這麼寫 var ws = new WebSocket(url), Firebug直接會報一個WebSockect not defined的錯誤。經過調查原來在FireFox中,WebSockect的類叫MozWebSocket.Chrome
1. 什麼是視窗 MSDN: In a graphical Win32-based application, a window is a rectangular area of the screen where the application displays output and receives input from the user. Therefore, one of the first tasks of a graphical Win32-based
【原創】Alex自訂遊戲螢幕重新整理時間,預設情況下XNA開發架構的螢幕刷頻率為60次。在默寫時候,通常需要改變螢幕的重新整理次數。可以通過Game類的TargetElapsedTime自訂設定即設定TargetElapsedTime間隔時間。代碼Code highlighting produced by Actipro CodeHighlighter