上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 19 下一页
摘要: 阅读全文
posted @ 2015-11-02 14:10 QQ76211822 阅读(631) 评论(0) 推荐(0) 编辑
摘要: m_HFlexGrid.SetColumnResize(FALSE); m_HFlexGrid.SetRowResize(FALSE); 阅读全文
posted @ 2015-11-02 13:47 QQ76211822 阅读(4519) 评论(0) 推荐(0) 编辑
摘要: DWORD dwMergeCellCount = vMergeCells.size(); for (int i = 0; i < dwMergeCellCount; i++){ m_HFlexGrid.SplitCells(vMergeCells.at(0));//为什么是0呢?... 阅读全文
posted @ 2015-11-02 11:47 QQ76211822 阅读(815) 评论(0) 推荐(0) 编辑
摘要: 头文件下添加:afx_msg void OnMergeCell(); afx_msg void OnContextMenu(CWnd* /*pWnd*/, CPoint /*point*/);添加映射:ON_COMMAND(IDM_MergeCell, OnMergeCell)//IDM_Me... 阅读全文
posted @ 2015-11-02 11:12 QQ76211822 阅读(849) 评论(0) 推荐(0) 编辑
摘要: // ConsoleApplication10.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include using namespace std;BOOL bTest = false;void Get(){ char *p = NUL... 阅读全文
posted @ 2015-10-31 22:51 QQ76211822 阅读(163) 评论(0) 推荐(0) 编辑
摘要: m_Grid.SetCellType(row, 1, RUNTIME_CLASS(CGridCell)); m_Grid.SetItemText(row, 1, _T("1")); m_Grid.SetItemState(row, 1, m_Grid.Ge... 阅读全文
posted @ 2015-10-23 22:19 QQ76211822 阅读(1282) 评论(0) 推荐(0) 编辑
摘要: #ifndef __GRID_CELL_BUTTON__#define __GRID_CELL_BUTTON__#include "../GridCtrl_src/GridCell.h" class CGridCellButton : public CGridCell{ friend cla... 阅读全文
posted @ 2015-10-23 21:09 QQ76211822 阅读(2686) 评论(0) 推荐(0) 编辑
摘要: WCHAR pFileName[MAX_PATH] = {0}; //得到程序自身的全路径 DWORD dwRet = GetModuleFileName(NULL, pFileName, MAX_PATH); HKEY hKey; RE... 阅读全文
posted @ 2015-10-08 17:28 QQ76211822 阅读(677) 评论(0) 推荐(0) 编辑
摘要: 不知道大家有没有遇到过这种情况,刚开发完的程序,明明在本机能够好好的运行,可是部署到服务器过分发给用户时,总是出现莫名其妙的错误。一时半会又看不出问题来,怎么办呢?难道只能在服务器或是客户电脑上装一个vs、跟一下代码吗?其实不用的,vs有一个远程调试的功能。这个功能是这样的,程序在其他的电脑上运行,... 阅读全文
posted @ 2015-10-08 13:21 QQ76211822 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 今天在工作中遇到一个问题,一个动态菜单,每个菜单的菜单项ID是我自己定义的,定义如下:#define IDM_SEARCHRECORD0 222240#define IDM_SEARCHRECORD1 222241#define IDM_SEARCHRECORD2 222242#defi... 阅读全文
posted @ 2015-09-30 11:17 QQ76211822 阅读(365) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 19 下一页