2009년 3월 25일 수요일

꽃 개화시기 (출처: 해럴드경제)_

곧있으면 꽃이 개화한단다...흐흐 사진찍으러가야지...

출처: http://photo.media.daum.net/photogallery/culture/travel/view.html?photoid=2698&newsid=20090325095308510

2009년 3월 24일 화요일

C++, MFC에서 클립보드 막는방법...(From 데브피아)

BOOL CMainFrame::PreTranslateMessage(MSG* pMsg)
{
    if(pMsg->message == WM_KEYDOWN)  {
        if(pMsg->hwnd == 에디트박스 핸들)
       {
            //CTRL단축키 문제 해결을 위해..
            if(pMsg->message == WM_KEYDOWN && pMsg->wParam != VK_CONTROL)
             //콘트롤이 눌려져 있으면
            {
                if(pMsg->wParam == ID_EDIT_PASTE) SendMessage(WM_PASTE);
                if(pMsg->wParam == ID_EDIT_CUT) SendMessage(WM_CUT);
                if(pMsg->wParam == ID_EDIT_COPY) SendMessage(WM_COPY);
            }
        }
    }
    return PreTranslateInput(pMsg);
}

**몇일째 머리싸메고있다.. 아직 해결된것은 아니다.. 클리보드 통제 어려운 일인거 같다. 나중에 않되면 MFC로 해봐야 할 듯하다.

2009년 3월 23일 월요일

C++ 폴더체크하는 함수

MFC를 사용하다면 다음함수를 사용하고, API를 사용하면 FindFirstFile를 사용하자

void CDlg::Dir_Check(CString strDir)

{
  CFileFind file;
  CString strFile = "*.*";
  BOOL bResult = file.FindFile(strDir + strFile);

  if(!bResult)
  {
  bResult = CreateDirectory(strDir+"\",NULL);
  if(!bResult)
  {
  //Error;
  }
  }  
}


2009년 3월 21일 토요일

잘모르는 곡이지만....함 들어보세요



잘모르는 곡입니다..무슨곡일까요..

세상에는 얼굴도 다르고, 목소리도 다르고, 모습이 다 다른데...같은 노래를 부르니..^^

 

2009년 3월 18일 수요일

Vicky Beeching "Above All Else"

 

“I heard this song two nights ago when trying to fall asleep. Typically I listen to a CD rather than the radio because I like to wake up to quietness (well, besides my alarm), but for some reason I had my radio that night. 

This song came on. I was in awe. I’m sure I’ve heard it before, but never like I heard it two nights ago. I couldn’t remember the name of the song when I woke up, so I e-mailed the station and just got an e-mail back telling me the artist and title.



“Jesus, my passion in life is to know You”
- I was so taken by this. It has been a long day, and I had been frustrated because other passions were getting in my way. My sight was clouded and I was confused.

“May all other goals bow down to
This journey of loving You more”
-I was so glad to hear this line! I was able get all those other passions to go away! I literally wanted them to bow down to my real glory, joy and passion-Knowing and loving Jesus more

“Jesus, You’ve showered Your goodness on me
Given Your gifts so freely
But there’s one thing I’m longing for
Hear my heart’s cry
And my prayer for this life”
- It was my heart’s cry. I wanted Jesus, I wanted Him to be in the forefront on my mind and life.

“Above all else
Above all else
Above all else
Give me Yourself”
-I was about to cry listening to the chorus of this song. It’s so beautiful and simple and Vicky Beeching has a very sweet voice.

“Savior, the more that I see Your beauty
The more that I glimpse Your glory
My heart is captured by You
Jesus, You are my greatest treasure
Nothing this world can offer
Could ever compare to You
So, hear my heart’s cry
And my prayer for this life”
-So pretty, so amazing, so true, just what I needed to hear.

This is one of my top songs and I think I will print it out to be my prayer for while “


From Someone Blogger....