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 ...
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 ...
윈도우 드래그해서 움직이고 싶은데 어떻게 하는지 모르시는 분은 다음의 이벤트를 추가해 보시라. void Cgdiplus_demoDlg::OnLButtonDown(UINT nFlags, CPoint point){ // 다음과 같이 PostMessage를 넣어주면 간단히 구현 가능 ...
* 불투명 윈도우 만들기방금전에 책에서 본 예제로 만든겁니다.님의 코드보다 더 자원을 먹을지는 모르겠지만 참고하세요.윈도 2000이상에서만 된다고 하네요.전역입니다 :// 투명 설정을 위한 상수 정의#define WS_EX_LAYERED 0x00080000#define LWA_ALPHA ...
MSDN에서 알아낸 PDA폰에서의 키 후킹하는 방법입니다.=======================================================================================삼성 SPH-M4300에서 프로그래밍 해보고 테스트도 완료했습니다.잘되더군요.더 자세한 정보를 알아보시려면 다음의 뉴스그룹을 참조하시고:http://groups.google.com/group/microsoft.public.win...
사실은 별루 하는 일 없다.원래 VC++ 프로그램 짜듯 짜되,배경이미지를 하나 로딩해서 매번 Paint 해주면 된다.다음과 같이 클레스 선언부에 m_BG라는 비트맵을 선언HBITMAP m_BG초기화 부분에서 비트맵 로드한다음BOOL CCALLIDDlg::OnInitDialog(){ CDialog::OnInitDialog(); &nb...
파일로부터 비트맵을 로딩하는 비기 (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...
가끔 MFC나 Delphi로 프로그램 만들다 보면,내가 만든 프로그램에 포함된 리소스에서 버젼을 읽어오고 싶을때가 있다.본 소스는 버젼을 읽어다 뿌려주는 샘플코드입니다.다음의 코드를 상단부에 선언하시고String GetVersionInfo(HMODULE hLib, CString csEntry){ CString csRet; if (hLib == NULL)&nb...
리모트 데스크탑 포트 번호 바꿔주는 프로그램 소스입니다.첨부파일은 이를 구현한 어플리케이션입니다. DWORD GetRDPPortNo(){ HKEY hKey; long dwSize=0; DWORD PortNo=3389; DWORD dwDisp, dwType; if (RegCreateKeyEx( HKEY_LOCAL_MACHINE, &n...