Physical Address

304 North Cardinal St.
Dorchester Center, MA 02124

Category Uncategorized

폼(Form) 내부를 클릭하여 이동시키는 방법

WINAPI 변수 선언 public const int WM_NCLBUTTONDOWN = 0xA1; public const int HT_CAPTION = 0x2; Form의 MoveDown 이벤트 핸들러 작성 private void frmController_MouseDown(object sender, MouseEventArgs e) {     // 왼쪽버튼이 눌렸는지 확인     if (e.Button == MouseButtons.Left)     {   …

apache 자동으로 시작시키는 방법

RedHat/chkconfig-compliant start script: #!/bin/sh httpd This shell script takes care of starting and stopping httpd. chkconfig: 2345 65 35 description: httpd provides support for updating dynamic DNS services. PATH=/usr/sbin:/root/bin:${PATH}export PATH HTTPD=’/usr/local/apache2/bin/httpd’ case “$1” instart)echo -n “Starting httpd: “$HTTPD -k $1echo;;stop)echo…

Event Dialog Box를 만들어 보자

Event Dialog Box를 만들어 보자 종종 Application을 보다보면 1~2초 동안 잠깐 나와서 메시지를 보여주고 스스로 사라지는 윈도우를 볼 수 있을 것이다. AfxMessageBox 처럼 쉽게 만들고, 사용자가 delete 시키는 아무런 작업을 하지 않아도 스스로 사라지는 그런 편리한 이벤트 대화 상자를 만들어…

Freeware Icon Editor – aaICO

This is a Free Icon Editor that you will find very useful. This is a great free tool.  The editor supports multiple resolutions, importing, exporting, various effects and much more. Download : 

Handler를 이용한 무한 루프 만들기

안드로이드 프로그래밍 공부중에 나중에 참고 할 만한 내용을 정리하는 중이다. 이번에는 Handler 클래스를 사용하여 무한 루프를 만드는 방법이다. Handler 클래스의 sendEmptyMessage() , sendEmptyMessageDelayed() 메서드를 이용해서 만들수 있다. [code lang=”java”] public class HandlerTest extends Activity { public void onCreate(Bundle savedInstanceState) {…

Overloading Methods in WCF

Yesterday, I attended a local MSDN event in the Birmingham area.  It covered the .NET 2.0 System.Net namespace, an introduction to WCF, and a look at Atlas.  During the course of the WCF overview, someone asked the presenter whether it…