您当前的位置:首页 > IT编程 > C++
| C语言 | Java | VB | VC | python | Android | TensorFlow | C++ | oracle | 学术与代码 | cnn卷积神经网络 | gnn | 图像修复 | Keras | 数据集 | Neo4j | 自然语言处理 | 深度学习 | 医学CAD | 医学影像 | 超参数 | pointnet | pytorch | 异常检测 | Transformers | 情感分类 | 知识图谱 |

自学教程:C++ DestroyCursor函数代码示例

51自学网 2021-06-01 20:27:03
  C++
这篇教程C++ DestroyCursor函数代码示例写得很实用,希望能帮到您。

本文整理汇总了C++中DestroyCursor函数的典型用法代码示例。如果您正苦于以下问题:C++ DestroyCursor函数的具体用法?C++ DestroyCursor怎么用?C++ DestroyCursor使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。

在下文中一共展示了DestroyCursor函数的29个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: __declspec

extern "C" int __declspec(dllexport) Unload(void){#ifdef _DEBUG	UnInitDebug();#endif	WindowList_Destroy(YAMNVar.MessageWnds);	WindowList_Destroy(YAMNVar.NewMailAccountWnd);	DestroyCursor(hCurSplitNS);	DestroyCursor(hCurSplitWE);	CloseHandle(NoWriterEV);	CloseHandle(WriteToFileEV);	CloseHandle(ExitEV);	DeleteCriticalSection(&AccountStatusCS);	DeleteCriticalSection(&FileWritingCS);	DeleteCriticalSection(&PluginRegCS);	UnhookEvents();	DestroyServiceFunctions();	UnloadPlugins();	delete [] CodePageNamesSupp;	return 0;}
开发者ID:Seldom,项目名称:miranda-ng,代码行数:28,


示例2: SetCursor

void WIN32Window::terminate(){    SetCursor(NULL);    if(m_defaultCursor) {        DestroyCursor(m_defaultCursor);        m_defaultCursor = NULL;    }    for(HCURSOR& cursor : m_cursors)        DestroyCursor(cursor);    m_cursors.clear();    internalDestroyGLContext();    if(m_deviceContext) {        if(!ReleaseDC(m_window, m_deviceContext))            g_logger.error("Release device context failed.");        m_deviceContext = NULL;    }    if(m_window) {        if(!DestroyWindow(m_window))            g_logger.error("ERROR: Destroy window failed.");        m_window = NULL;    }    if(m_instance) {        if(!UnregisterClassA(g_app.getCompactName().c_str(), m_instance))            g_logger.error("UnregisterClassA failed");        m_instance = NULL;    }}
开发者ID:Ablankzin,项目名称:otclient,代码行数:32,


示例3: SplitmsgShutdown

int SplitmsgShutdown(void){	WindowList_Destroy(M.m_hMessageWindowList);	WindowList_Destroy(PluginConfig.hUserPrefsWindowList);	DestroyCursor(PluginConfig.hCurSplitNS);	DestroyCursor(PluginConfig.hCurHyperlinkHand);	DestroyCursor(PluginConfig.hCurSplitWE);	FreeLibrary(GetModuleHandleA("Msftedit.dll"));	if (g_hIconDLL) {		FreeLibrary(g_hIconDLL);		g_hIconDLL = NULL;	}	ImageList_RemoveAll(PluginConfig.g_hImageList);	ImageList_Destroy(PluginConfig.g_hImageList);	delete Win7Taskbar;	DestroyMenu(PluginConfig.g_hMenuContext);	if (PluginConfig.g_hMenuContainer)		DestroyMenu(PluginConfig.g_hMenuContainer);	UnloadIcons();	FreeTabConfig();	if (Utils::rtf_ctable)		mir_free(Utils::rtf_ctable);	UnloadTSButtonModule();	return 0;}
开发者ID:kmdtukl,项目名称:miranda-ng,代码行数:34,


示例4: DestroyCursor

CEGControlBar::~CEGControlBar(void){	if( NULL != m_curHorzDrag )		DestroyCursor( m_curHorzDrag );	if( NULL != m_curVertDrag )		DestroyCursor( m_curVertDrag );}
开发者ID:AnthonyNystrom,项目名称:GenXSource,代码行数:7,


示例5: AboutProc

/*** About Dialog with one Command Button (Unload dialog on press)** Center on Init rel. to main Window!*/BOOL CALLBACK AboutProc(HWND hWndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam){	switch (uMsg)	{	case WM_INITDIALOG:		CenterDialog(hWndDlg, GetParent(hWndDlg));		hCursor=LoadCursor(NULL, IDC_HAND); // Windows 98/Me, Windows 2000/XP: Hand		if(!hCursor)			hCursor=LoadCursor(hInstance, MAKEINTRESOURCE(IDC_MY_HAND));		//SetClassLong(GetDlgItem(hWndDlg, IDC_STATIC_MAIL), GCL_HCURSOR, (LPARAM)hCursor);		//SetClassLong(GetDlgItem(hWndDlg, IDC_STATIC_URL), GCL_HCURSOR, (LPARAM)hCursor);		return TRUE;	case WM_CTLCOLORSTATIC:		switch(GetDlgCtrlID((HWND)lParam))		{		case IDC_STATIC_MAIL:		case IDC_STATIC_URL:			SetBkMode((HDC)wParam, TRANSPARENT);			SetTextColor((HDC)wParam, RGB(0x00, 0x00, 0xFF));			return (BOOL)GetStockObject(NULL_BRUSH);		case IDC_STATIC_DO:			SetBkMode((HDC)wParam,TRANSPARENT);			SetTextColor((HDC)wParam, RGB(0x00, 0xA0, 0x00));			return (BOOL)GetStockObject(NULL_BRUSH);		}		break;	case WM_COMMAND:		switch(LOWORD(wParam))		{		case IDOK:			DestroyCursor(hCursor);			EndDialog(hWndDlg, 1);			return TRUE;		case IDC_STATIC_URL:			if(HIWORD(wParam)==STN_CLICKED)			{				ShellExecute(GetParent(hWndDlg), "open", "http://darkone.yo.lv", 0, 0, SW_SHOW);				return TRUE;			}			break;		case IDC_STATIC_MAIL:			if(HIWORD(wParam)==STN_CLICKED)			{				ShellExecute(GetParent(hWndDlg), "open", "mailto:[email
C++ DestroyDrawInfo函数代码示例
C++ DestroyChildren函数代码示例
万事OK自学网:51自学网_软件自学网_CAD自学网自学excel、自学PS、自学CAD、自学C语言、自学css3实例,是一个通过网络自主学习工作技能的自学平台,网友喜欢的软件自学网站。