(控制項) {
win32 listbox control的操作=>http://realchecko.blogspot.tw/2010/05/win32-listbox-control.html

跪著讀 發表在 痞客邦 留言(0) 人氣()

http://formatmysourcecode.blogspot.tw/
http://guli86400.pixnet.net/blog/post/105307192-%E5%A6%82%E4%BD%95%E5%8A%A0%E5%AF%AC%E5%85%A7%E6%96%87%E7%9A%84%E7%89%88%E9%9D%A2%E9%85%8D%E7%BD%AE

跪著讀 發表在 痞客邦 留言(0) 人氣()

一個個人覺得還算好用的檔案管理工具兼文字編輯器(文字編輯的功能算是差強人意)
安裝指令:

跪著讀 發表在 痞客邦 留言(0) 人氣()

由於本人在嘗試安裝軟體時缺了一些東西,便用yum下載
yum install -y ld-linux.so.2

跪著讀 發表在 痞客邦 留言(0) 人氣()

2017-05-09 18 30 37.png
會要設定精準的寬度是因為後面static text後面有時候要接Edit control
如果寬度設定不夠精準就會發生離很遠的情況

跪著讀 發表在 痞客邦 留言(0) 人氣()

http://blog.xuite.net/kamory0931/fightdreamer/45970401-C%2B%2B%E7%9A%84static

跪著讀 發表在 痞客邦 留言(0) 人氣()

char[]轉成char*
參考網址:http://stackoverflow.com/questions/9627962/is-it-possible-to-convert-char-to-char-in-c

跪著讀 發表在 痞客邦 留言(0) 人氣()

使用完需release
如下

跪著讀 發表在 痞客邦 留言(0) 人氣()

取得時間(目前僅在MFC用過可以,其他的沒試過)
 

跪著讀 發表在 痞客邦 留言(0) 人氣()

 
    // create dir (if dir doesn't exist)
    // dst是full path
for ( int i = 3, cur = 3; i < dst.GetLength(); i++ ) { // 3是因為有"C:\",把C槽本身當作一個資料夾
if ( dst.GetAt(i) == L'\\' ) {
if (!CFile::GetStatus(dst.Left(i), filestatus) ) // 判斷當前路徑如果不存在
if ( !CreateDirectory(dst.Left(i), NULL) ) // 如果建立資料夾失敗
MessageBox(NULL,L"create dir fail!",L"ppppppppp",MB_OK);
} // end if
}

跪著讀 發表在 痞客邦 留言(0) 人氣()

參考網址:http://stackoverflow.com/questions/23363115/detecting-ssd-in-windows
 

跪著讀 發表在 痞客邦 留言(0) 人氣()

MFC內ListBox並不會自動顯示水平捲軸,除非當你設定項目的長度超過ListBox的寬度,
因此下列做法是先記錄最大長度,超過最大長度再來設定水平捲軸

跪著讀 發表在 痞客邦 留言(0) 人氣()

1 2
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。