분류 전체보기
-
IP Helper APIPlatform/Environment 2010. 7. 18. 01:27
IP Helper APIs // Windows NT 4.0 Service Pack 4, Windows 98 GetNetworkParams() GetAdaptersInfo() GetPerAdapterInfo() Interface GetInterfaceInfo() GetIfTable() GetIfEntry() SetIfEntry() SetIpTTL() IP Address GetIpAddrTabl() ARP Table GetIpNetTable() // retrieves the IP-to-physical address mapping table SetIpNetEntry() DeleteIpNetEntry() Route Table GetBestInterface() GetIpForwardTable() SetIpForw..
-
한글인코딩 2010. 7. 17. 21:47
유니코드를 표현하는 5가지의 encoding(ucs2, ucs4, utf-7, utf-8, utf-16) ucs2 2바이트 고정형 인코딩 Big Endian Little Endian ucs4(MIME: UTF-32) 4바이트 고정형 인코딩 utf-7 unicode 의 mail safe version RFC1642 unicode 를 7bit 로 표현 utf-8 utf-16 BMP (Basic Multilingual Plane) 에 들어있는 글자는 2 바이트로 표현하게 되고 그 외의 글자들은 4 바이트를 이용해서 표현 오로지 한글만을 표현 EucKR(MIME: EUC-KR) ksx1001 ks_c_5601-1987 8비트 방식이 일반화된 현재의 메일이나 HTML Unified Hangul Code(MIME:..
-
MAC 주소Platform/Environment 2010. 7. 17. 18:59
GetInterfaceInfo() GetIfTable() MIB_IFTABLE .dwNumEntries .table[] // MIB_IFROW .bDescr .dwType MIB_IF_TYPE_ETHERNET .dwPhysAddrLen .bPhysAddr[] GetAdaptersInfo() 와이브로나 티로그인, 기타 CDMA,(Wiress LAN, 일명 Wi-Fi) 장치 IP_ADAPTER_INFO .Index .AdapterName .Description .AddressLength .Address[] .IpAddressList[] .IpAddress .IpMask .GatewayList .IpAddress .IpMask .DhcpEnabled .DhcpServer .IpAddress .IpMask Ge..
-
MFC개발/Troub 2010. 7. 17. 17:49
Windows 95 Windows NT 4.0 // 0x0400 VC98 Windows 98 Windows Me Windows 2000 // 0x0500 Windows XP // 0x0501 #if _WIN32_IE >= 0x0500 _AFXCMN_INLINE COLORREF CTreeCtrl::GetLineColor() const { ASSERT(::IsWindow(m_hWnd)); return (COLORREF)::SendMessage(m_hWnd, TVM_GETLINECOLOR, 0, 0L); } _AFXCMN_INLINE COLORREF CTreeCtrl::SetLineColor(COLORREF clrNew /*= CLR_DEFAULT*/) { ASSERT(::IsWindow(m_hWnd)); r..
-
JavaScriptGUI/Window 2010. 7. 12. 11:43
confirm() window.open("URL","창이름","옵션"); 옵션: top : 새창의 y좌표 width : 새창의 가로 height : 새창의 세로 menubar : 파일, 편집, 보기 등의 버튼이 있는 줄 toolbar : 뒤로, 앞으로, 검색, 즐겨찾기 등의 버튼이 나오는 줄 location : 주소창 scrollbars : 스크롤바 status : 창 아래부분 링크주소 나오는 부분 resizable : 창의 크기를 조절 가능 여부 fullscreen : 최대화 창으로 띄움( 이 옵션을 쓰게 되면 width,height,top,left 옵션이 적용안됨) // 크기 var x,y; if (self.innerHeight) { // IE 외 모든 브라우저 x = self.innerWidth; ..
-
메뉴 - MFCGUI/Skin 2010. 6. 27. 14:02
#include "MenuEx.h" class CToolBarAppView : public CView { // protected: // create from serialization only CToolBarAppView(); ... // Generated message map functions protected: //{{AFX_MSG(CToolBarAppView) afx_msg void OnContextMenu(CWnd* pWnd, CPoint point); afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct); afx_msg void OnMeasureItem(int nIDCtl..
-
컨트롤 바MFC 2010. 6. 26. 18:07
CFrameWnd .DockControlBar() CControlBar -> CWnd 도킹 기능 .ShowControlBar()
-
버튼 컨트롤 - MFCGUI/Skin 2010. 6. 12. 22:57
CBitmapButton .AutoLoad() IDD_ABOUTBOX DIALOGEX 0, 0, 235, 103 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Ex06e 정보" FONT 9, "MS Shell Dlg", 0, 0, 0x1 BEGIN ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20 LTEXT "Ex06e 버전 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX LTEXT "Copyright (c) 2003",IDC_STATIC,40,25,119,8 DEFPUSHBUTTON "확인",IDOK,178,7,50,16,WS_GROUP..