[MFC] CListCtrl 선택된 항목 Index // 다중 선택시 void GetIndex() { int nItemCount = m_ctrlList.GetSelectedCount(); POSITION pos = m_ctrlList.GetFirstSelectedItemPosition(); for (int i = 0; i < nItemCount; i++) { int nIndex = m_ctrlList.GetNextSelectedItem(pos); } } // 단일 선택 int GetIndex() { int nSelectedItem = m_ctrlList.GetNextItem( -1, LVNI_SELECTED ); CString strKey = m_ctrlList.GetItemText(nSelectedItem, 0); if ( strKey == "") { .. 더보기 [English] Topics for 1/19 1. Article sharing 2. Writing in english -> Coffee 3. Discussion -> "Should we shorten the working hours?" (근로시간을 단축해야 하는가?) Working hard is good for the economic growth but there are some worries about the efficiency of laboring. I think we can also can debate the topic with this point of view. Related articles http://www.koreaherald.com/view.php?ud=20130113000165 http://www.telegraph.co.uk/fin.. 더보기 [English]1/19 Writing : Coffee This week's english writing topic is the "Coffee". There might be various things to write about it, but this moment, I want to start to talk about the meaning of it to me. Firstly, coffee is "useless". Normally, people drinks it to be awaken during the work days. Coffee contains caffeine which arouses people from the daydreaming. But there is a difference in the effects of caffeine on people. So.. 더보기 이전 1 2 3 4 5 ··· 61 다음