|
本帖最后由 dasemimi 于 2013-1-27 13:54 编辑
- /**************************************************************************\
- *
- * Copyright (c) 炫彩界面库. All Rights Reserved.
- *
- * 炫彩界面库 - 官方网站 : http://www.xcgui.com
- *
- \**************************************************************************/
- #include "stdafx.h"
- #include <strsafe.h>
- int APIENTRY _tWinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPTSTR lpCmdLine, int nCmdShow)
- {
- XInitXCGUI();
- HWINDOW hwnd= XWnd_CreateWindow(0,0,600,500,L"第八课");
- //调整大小
- HELE hTextLink= XTextLink_Create(10,10,200,50,L"http://www.xcgui.com",hwnd);
- XTextLink_AdjustSize(hTextLink);
- //未调整大小
- HELE hTextLink1= XTextLink_Create(10,50,200,50,L"http://www.xcgui.com",hwnd);
- //停留时和离开时是否有链接
- XTextLink_ShowUnderline(hTextLink,TRUE,FALSE);
- XTextLink_SetStayColor(hTextLink,0x748D7);
- XWnd_ShowWindow(hwnd,SW_SHOWNORMAL);
- XRunXCGUI();
- return 0;
- }
复制代码
|
|