소스코드 이쁘게 올리기 pastebin
소스코드 이쁘게 올리기 방법은 간단하다 pastebin 이라는 사이트를 이용하면된다
void CreateControl(IXRApplication* pApplication, IXRVisualHost*
pHost)
{
IXRWin32ControlPtr pIWin32Ctl;
pApplication->CreateObject(&pIWin32Ctl);
IXRPanelPtr pPanel; //This C++ class provides a base class for all panel elements. You can use panel elements as containers to position and arrange child objects in your XAML for Windows Embedded based application.
IXRUIElementCollectionPtr pChildElements;
IXRFrameworkElementPtr pRootElement;
//pHost->FindName(L"main_window", &pPanel); pHost 로 안되고 pPanel로 된다
pPanel->FindName(L"main_window", &pPanel);
pPanel->GetChildren(&pChildElements); //This method retrieves the collection of child elements of the panel.
pChildElements->Add(pIWin32Ctl, NULL);
}
위와같이 밑밑하게 나오는 소스코드를
- void CreateControl(IXRApplication* pApplication, IXRVisualHost*
- pHost)
- {
- IXRWin32ControlPtr pIWin32Ctl;
- pApplication->CreateObject(&pIWin32Ctl);
- IXRPanelPtr pPanel; //This C++ class provides a base class for all panel elements. You can use panel elements as containers to position and arrange child objects in your XAML for Windows Embedded based application.
- IXRUIElementCollectionPtr pChildElements;
- IXRFrameworkElementPtr pRootElement;
- //pHost->FindName(L"main_window", &pPanel); pHost 로 안되고 pPanel로 된다
- pPanel->FindName(L"main_window", &pPanel);
- pPanel->GetChildren(&pChildElements); //This method retrieves the collection of child elements of the panel.
- pChildElements->Add(pIWin32Ctl, NULL);
- }
이렇게 만들 수있다
바로 pastebin 사이트를 이용하면 된다
주소 : http://pastebin.com/
사용법은 들어가서 보면 한눈에 알 수 있다.
'PC&소프트웨어' 카테고리의 다른 글
sublime text folder refresh (0) | 2015.12.23 |
---|---|
3ds max 바다 물결 만드는 4가지 방법 (0) | 2014.12.06 |
LED 22" 모니터 데이터시트 samsung LTM220M1-L01 (0) | 2014.11.21 |
송파구 삼성 서비스 센터 파워케이블 파는곳 (0) | 2014.08.28 |
노트북용 모뎀 모듈 max sct ttdamt603-128 (0) | 2014.08.26 |