기본 콘텐츠로 건너뛰기

ActiveX 다이얼로그 화면 올리기


1. Resource View에 다이얼로그 화면을 하나 추가합니다.
2. 화면과 같이 속성을 변경 하셔야 합니다.
-Statice Edge = TRUE
-Style = Child
- Visible = TRUE
- Control = TRUE
* 새로운 클래스를 추가하고 TestActiveXCtrl에서 Create 이벤트를 추가 합니다.
* 여기에 다이얼로그 화면을 생성하게 내용을 추가 해 넣습니다.
int CTestActiveXCtrl::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
 if (COleControl::OnCreate(lpCreateStruct) == -1) return -1;
//추가 된 한줄.. m_DlgBase.Create(IDD_VIEWBASE,this); return 0;
}
* 프로그램을 시행하면 ActiveX에 다이얼로그 화면이 출력 됩니다.

댓글

이 블로그의 인기 게시물

UltraEdit Professional Version 18.20.0.1014 라이센스 키 넣기

Step 1: unpack rar archive      Step 2: run the setup   Step 3: Use the given keygen to activate    Add the line   127.0.0.1 licensing.ultraedit.com         to your %WINDOWS%\system32\drivers\etc\hosts file                 Enter any data for license-id and password (license-id must be a         number)                 Choose Offline activation and generate corresponding activation         codes for your user codes   Step 4: Enjoy and Support Developers, Buy It, They Deserved It!

dmesg 메시지 실시간으로 보기

참조사이트 http://imitator.kr/Linux/556 # tail -f /var/log/messages # tail -f |dmesg //기본 2초 단위로 갱신 된다. # watch "dmesg | tail -f" //1초 단위로 갱신하면서 보여준다. # watch -n 1 "dmesg | tail -f" // 보여주는 줄을 20으로 늘린다. (기본 10줄) # watch -n 1 "dmesg | tail -f -n 20"