윈도우즈 MFC WIN32 GDI+ WINCE version DirectShow DirectX ATL 버젼

ATL.ZIP

DirectShow - NULL Rendering Example   (created at 2006-09-28)   232  

DirectShow를 이용하여 간단히 컨텐츠를 재생하는 프로그램 소스다.이것만 이해하면 DirectShow의 절반은 이해 한 셈이다.#include #pragma comment(lib, "strmiids.lib")

윈도우 옮기는 API - SetWindowPos   (created at 2006-09-28)   366  

 The SetWindowPos function changes the size, position, and Z order of a child, pop-up, or top-level window. Child, pop-up, and top-level windows are ordered according to their appearance on the screen. The topmost window receives the highest rank and ...

GDI+ Programming 방법   (created at 2006-09-28)   347  

 [중요1] Graphics 개체를 사용한다.[중요2] 다음의 헤더선언을 꼭 해야된다        #include         using namespace Gdiplus;        #pragma comment(lib, "gdipl...

CFileDialog - File Open Example   (created at 2006-09-28)   240  

CFileDialog l_SampleDlg(TRUE,NULL,NULL,OFN_OVERWRITEPROMPT,"Text Files (*.txt)|*.txt|Comma Separated Values(*.csv)|*.csv||");      int iRet = l_SampleDlg.DoModal();      CString l_strFileName;&nbs...

투명 윈도우 만들기   (created at 2006-09-28)   287  

You should be able to use this demo as a skeleton application for your own project.A standard CDialog MFC EXE application was created with the wizard and apart from the standard supplied code, the following functions were overridden.void OnClose() Used to ...

마우스로 윈도우 드래그하여 이동시키는 비기   (created at 2006-09-28)   553  

윈도우 드래그해서 움직이고 싶은데 어떻게 하는지 모르시는 분은 다음의 이벤트를 추가해 보시라.  void Cgdiplus_demoDlg::OnLButtonDown(UINT nFlags, CPoint point){        // 다음과 같이 PostMessage를 넣어주면 간단히 구현 가능        ...

불투명 윈도우 만들기   (created at 2006-09-28)   360  

 * 불투명 윈도우 만들기방금전에 책에서 본 예제로 만든겁니다.님의 코드보다 더 자원을 먹을지는 모르겠지만 참고하세요.윈도 2000이상에서만 된다고 하네요.전역입니다 :// 투명 설정을 위한 상수 정의#define WS_EX_LAYERED       0x00080000#define LWA_ALPHA         ...

WinCE에서 Key Hooking하는 방법   (created at 2006-09-28)   539  

MSDN에서 알아낸 PDA폰에서의 키 후킹하는 방법입니다.=======================================================================================삼성 SPH-M4300에서 프로그래밍 해보고 테스트도 완료했습니다.잘되더군요.더 자세한 정보를 알아보시려면 다음의 뉴스그룹을 참조하시고:http://groups.google.com/group/microsoft.public.win...

비트맵을 배경으로 뿌리고 그 위에 컨트롤 올리는 방법   (created at 2006-09-28)   320  

사실은 별루 하는 일 없다.원래 VC++ 프로그램 짜듯 짜되,배경이미지를 하나 로딩해서 매번 Paint 해주면 된다.다음과 같이 클레스 선언부에 m_BG라는 비트맵을 선언HBITMAP m_BG초기화 부분에서 비트맵 로드한다음BOOL CCALLIDDlg::OnInitDialog(){        CDialog::OnInitDialog();    &nb...

BITMAP 오브젝트에서 가로,세로 크기 알아내기   (created at 2006-09-28)   496  

 열라 간단.int GetCBitmapWidth(const CBitmap & cbm){      BITMAP bm;      cbm.GetObject(sizeof(BITMAP),&bm);      return bm.bmWidth;}int GetCBitmapHeight(const CBitm...

비트맵을 파일에서 로딩하는 비기   (created at 2006-09-28)   499  

파일로부터 비트맵을 로딩하는 비기 (Loading Bitmaps from a File)Type : Tips & TricksReferences :Posted by dougalliNotes : Originally posted to the VST-plugins mailing list by Sandor Drieënhuizen Only works in WindowsCode : class CBitmapEx : public CBitmap{  &nbs...

듀얼 모니터에서 Focused Monitor의 Rect 알아내기   (created at 2006-09-28)   354  

    HMONITOR hMonitor;    MONITORINFO mi;    RECT        rc;    // get the nearest monitor to the passed rect.    hM...

프로그램에서 버젼(version) 정보 읽어주는 소스   (created at 2006-09-28)   428  

가끔 MFC나 Delphi로 프로그램 만들다 보면,내가 만든 프로그램에 포함된 리소스에서 버젼을 읽어오고 싶을때가 있다.본 소스는 버젼을 읽어다 뿌려주는 샘플코드입니다.다음의 코드를 상단부에 선언하시고String GetVersionInfo(HMODULE hLib, CString csEntry){    CString csRet;        if (hLib == NULL)&nb...

RDP(Remote Desktop Protocol) Port 값 가져오고/바꿔주기   (created at 2006-09-28)   6,665  

리모트 데스크탑 포트 번호 바꿔주는 프로그램 소스입니다.첨부파일은 이를 구현한 어플리케이션입니다. DWORD GetRDPPortNo(){ HKEY hKey; long dwSize=0; DWORD PortNo=3389; DWORD dwDisp, dwType; if (RegCreateKeyEx(  HKEY_LOCAL_MACHINE,     &n...