언어/C++(25)
-
C++(MFC) Bitmap Button 만들기
이건 제가 잊어먹지 않기 위해 써 놓는 것 입니다. 필요한 것만 적어놓기 때문에 이해가 안 되실 것 입니다. 궁금한 점 있으시면 댓글로 궁금하신 점이랑 메일 주소 남겨주세요 아는 한도에서 자세하게 설명해드리겠습니다. 버튼 만들고 클래스 위자드에서 버튼에 대한 멤버 변수 설정후 헤더파일에서 CButton을 CBitmapButton 으로 변경 myButton.LoadBitmaps(IDB_BITMAP1, NULL, NULL, NULL); myButton.SizeToContent(); 끝.
2010.11.11 -
BHO desk bar
http://www.dotnetheaven.com/Uploadfile/mahesh/bands105272005060056AM/bands1.aspx
2010.11.08 -
캡션 높이와 보더 폭 구하기
int nCaptionY=GetSystemMetrics(SM_CYSIZE); // 캡션높이 int nBorderWidth=GetSystemMetrics(SM_CXSIZEFRAME); //보더폭 출처 : 데브피아
2010.10.21 -
Visual Studio 2010 작업표시줄 크기 구하기
굳이 Visual Studio 2010용은 아니지만 Visual Studio 2010에서 작업했기에 제목을 그렇게 지었다. Visual Studio 2010 HWND hWnd = ::FindWindow(L"Shell_TrayWnd", L"");해 만듬. CRect rect; if(hWnd) { ::GetWindowRect(hWnd, &rect); } 높이는 rect.botton-rect.top으로 구하면 된다.
2010.10.21 -
BHO에서 Explorer 아닌것은 걸러내기
extern "C" BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID /*lpReserved*/) { if (dwReason == DLL_PROCESS_ATTACH) { // Don't attach to Windows Explorer TCHAR pszLoader[MAX_PATH] = {0, }; GetModuleFileName(NULL, pszLoader, MAX_PATH); CString sLoader = pszLoader; sLoader.MakeLower() ; if (sLoader.Find(_T("explorer.exe")) >= 0) return FALSE; _Module.Init(ObjectMap, hInstance, &LIBID_..
2010.10.14 -
Visaul Studio 2005에서 브라우저 도우미 개체 만들기
MSDN에 있는 내용임 http://sgun714.springnote.com/pages/4779857
2010.10.13