标题
[ppc/wince]修改底部菜单按钮的标题 [SHCreateMenuBar() 产生的按钮]
clq
浏览(0) +
2007-12-14 22:39:58 发表
编辑
关键字:
[ppc/wince]修改底部菜单按钮的标题 [SHCreateMenuBar() 产生的按钮]
m_bShowDetail = FALSE;
InvalidateRect(m_pThis->m_hWnd, NULL, FALSE);
//改变菜单
wchar_t awcLeft[10], awcRight[10];
memset(awcLeft, 0, sizeof(awcLeft));
memset(awcRight, 0, sizeof(awcRight));
wcscpy(awcLeft, L"详情");
wcscpy(awcRight, L"退出");
HWND hwndMenuBar = SHFindMenuBar(m_hWnd);
TBBUTTONINFO tbbi;
tbbi.cbSize = sizeof(tbbi);
tbbi.dwMask = TBIF_TEXT;
tbbi.pszText = awcLeft;
SendMessage(hwndMenuBar, TB_SETBUTTONINFO, ID_TRADE_LIST_OK, (LPARAM)&tbbi);
tbbi.pszText = awcRight;
SendMessage(hwndMenuBar, TB_SETBUTTONINFO, ID_TRADE_LIST_CANCEL, (LPARAM)&tbbi);
NEWBT官方QQ群1: 276678893
可求档连环画,漫画;询问文本处理大师等软件使用技巧;求档softhub软件下载及使用技巧.
但不可"开车",严禁国家敏感话题,不可求档涉及版权的文档软件.
验证问题说明申请入群原因即可.