소스 못 퍼가게 하는 전형적인 예입니다.body tag에 다음을 선언합니다....oncontextmenu="return false" - 마우스 오른쪽 버튼을 눌렀을 때 나오는 메뉴창(contextmenu)을 안나오게 합니다. ondragstart="return false" - 문서내에서 드래그하여 하여 끌어내는 것 막기 xxonkeydown="return false" - Ctrl + C(복사) 와 같은 단축키 막기, 사용시 모든 키는 먹통이 됩니다. xx...
안녕하세요..알짜의 경우 alzza-firewall스크립트가 부팅시 자동으로 실행이 되도록 설정이 되어있습니다.열어보시면 아시겠지만,외부 네트워크에서 웹서비스를 제외한 나머지는 접근이 안되도록 막아 놓았습니다./etc/rc.d/init.d/alzza-firewall stop 하시고 다시 시도해 보심 될겁니다..그럼..
도스에 나가서 Windows가 깔린 드라이버나 Windows가 있는 cdrom에서 system.1st 파일을 찾습니다. 이건 어느 폴더 같은데 안들어 있습니다. 그냥 C:에 있습니다(C:가 Windows가 깔린 드라이버일 경우)! 이 파일(sysyem.1st)은 숨겨진 파일임으로 mdir에서는 Alt+Z를 사용하여 찾습니다. 이걸 DOS용 에디터(Edit 등)로 불러냅니다. 거기서 검색하여 productkey를 찾습니다. ...
Your first task is to create a Delphi function used to download a file from the Internet. One way of achieving this task is to use the WinInet API calls. Delphi gives us full access to the WinInet API (wininet.pas) which we can use to connect to and retrie...
작업관리자를 띄워보면 어떤 프로그램이 떠 있는지 다 나온다.이걸 막으려먼 프로젝트 소스에서 다음과 같이 초기화를 해주면된다....Application.Initialize;Application.Title := '';Application.CreateForm(TForm1, Form1);...이렇게 해주면 Taskbar에도 안뜬다.
특정 문자열을 찾아내 주는 소스.델파이 프로그래밍 할 때마다 자주 애용하는 소스이다. function StrFnd( source, key: String): Integer;vari, j, flen, slen, klen: Integer;beginslen := Length( source);klen := Length( key);flen := slen - klen + 1;for i := 1 to flen dobegin if sour...
char *strTitle, *strArtist, *strTime;{/* Add song information to play list */LV_ITEM lvitem;lvitem.mask = LVIF_TEXT | LVIF_IMAGE | LVIF_STATE ;// lvitem.iImage = MemoryType - 1; /* Set Image Type */lvitem.state = 0;lvitem.stateMask = ...
보통 LPCTSTR로 선언해서 쓰는데 그럼 가다가 end of string 이후가 깨져버린다.그때 파라메터를 CHAR * 로 선언해서 쓰면된다.Visual C++ 6.0에서는 CHAR* 선언이 불가능하므로 수동으로 고쳐주면된다.이때 컨트롤 부분에서는 다음과 같은 부분도 수정해주어야 한다.VTS_BSTR로 선언되어진 부분을 VTS_PI1로 선언해주면된다.그러면 데이터 송수신시 깨지지 않는다.from ControlDISP_FUNCTION(CKlientCtrl...
가끔 어플리케이션을에게 메시지를 보내서 통채로 죽이고 싶을때가 있다.어플리케이션들아 우리 같이 종료하자!!!이럴때는 윈도우 메시지를 정의해놓고,브로드케스트 해주는 방법을 써주면 좋다. 보내는 곳UINT nCloseRegMsg = ::RegisterWindowMessage("ISCREEN_CP_APP");::PostMessage(HWND_BROADCAST, nCloseRegMsg, 0, 0);받는 곳UINT nCloseRegMsg = ::Regis...
Embedded XP같은거 사용해서 커스톰 웹브라우져같은거 만들때 이런 방법을 많이 쓴다.셋톱박스 전용 브라우져 만들때 꼭 써야하는 방식이라고나 할까...내용 요약:IE Control을 사용하여 개발하는 어플리케이션 내에 정의된 함수를 javascript로 window.external.[사용자 정의 함수] 로 호출하는 방법.기본적으로는 함수는 Public으로 정의하여 구현하면 IE위에서 돌아가는 javascipt에서도 Call할수 있다.# call방법wi...
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 ...