ccbuluo / duilib Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/duilib
Automatically exported from code.google.com/p/duilib
重现这个问题的步骤?
1. 用VS打开duilib工程
2. 将工程编译选项设置成x64并编译
3. 出现编译错误无法打开 Riched20.lib
微软从未提供过Riched20.lib的64位版本
Original issue reported on code.google.com by [email protected]
on 26 Jul 2012 at 3:50
源文件:HRESULT CActiveXCtrl::CreateActiveXWnd()
{
if( m_pWindow != NULL ) return S_OK;
m_pWindow = new CActiveXWnd;
if( m_pWindow == NULL ) return E_OUTOFMEMORY;
m_pOwner->m_hwndHost = m_pWindow->Init(this, m_pOwner->GetManager()->GetPaintWindow());
RegisterEventHandler(TRUE);
return S_OK;
}
每个控件都要RegisterEventHandler,然后:HRESULT
CActiveXCtrl::RegisterEventHandler( BOOL inAdvise )
{
IWebBrowser2* pWebBrowser=NULL;
IConnectionPointContainer *pCPC;
IConnectionPoint *pCP;
m_pOwner->GetControl(IID_IWebBrowser2, (void**)&pWebBrowser);
HRESULT hr=pWebBrowser->QueryInterface(IID_IConnectionPointContainer,(void **)&pCPC);
if (FAILED(hr))
return hr;
hr=pCPC->FindConnectionPoint(DIID_DWebBrowserEvents2,&pCP);
if (FAILED(hr))
return hr;
if (inAdvise)
{
hr = pCP->Advise((IUnknown*)(void*)this, &m_dwCookie);
}
else
{
pCP->Unadvise(m_dwCookie);
}
return hr;
}
如果我的ActiveX不是IWebBrowser2那么就会在 m_pOwner->GetControl(IID_IW
ebBrowser2, (void**)&pWebBrowser);
HRESULT hr=pWebBrowser->QueryInterface(IID_IConnectionPointContainer,(void **)&pCPC);
这2句崩溃掉。请提供解决方法。
Original issue reported on code.google.com by [email protected]
on 30 Jul 2012 at 6:23
即日起, Duilib停止开发, 相关内容不再更新维护.
New UI Framwork: LomoX (http://www.lomox.hk/)
欢迎大家积极参与到LomoX的开发中来!
Original issue reported on code.google.com by [email protected]
on 17 Jan 2012 at 4:57
为什么render要是用 stb_image 这个库,而不是用GDI+来画图。
GDI+还可以支持抗锯齿之类的.
很费解
Original issue reported on code.google.com by [email protected]
on 21 Mar 2012 at 3:27
使用新版本(目前SVN能下载的最新版本)
pActiveXUI->CreateControl(ldbdown.GetClsid());
使用自己的OCX控件,在显示窗口时候崩溃
用windbg调试 指示
FOLLOWUP_IP:
DuiLib_d!DuiLib::CRenderEngine::operator=+2186
11016446 8b08 mov ecx,dword ptr [eax]
STACK_TEXT:
WARNING: Stack unwind information not available. Following frames may be wrong.
0012ee68 110163b7 00000001 82fb48a8 0012eea0
DuiLib_d!DuiLib::CRenderEngine::operator=+0x2186
0012ee98 11015262 0012ef2c 009b2490 cccccccc
DuiLib_d!DuiLib::CRenderEngine::operator=+0x20f7
0012eed0 00dee70d 009b2494 0012ef28 00000000
DuiLib_d!DuiLib::CRenderEngine::operator=+0xfa2
使用旧版本1.0的哪个就没问题。怎么回事??
Original issue reported on code.google.com by [email protected]
on 28 Jul 2012 at 2:03
下载几个demo使用,发现效率还需要优化,例如将窗口最大化�
��及向下还原的过程中,闪烁比较严重。
Original issue reported on code.google.com by [email protected]
on 22 Aug 2011 at 7:22
What steps will reproduce the problem?
1. 创建一个窗体,设置bktrans属性。
2. 贴上png透明异形图片,首次出现有透明效果
3. 移动窗体,透明效果失败
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
每次重绘窗体时可以出现透明效果,但是移动或者最大化或��
�最小化时 明显看出这个bug了
Original issue reported on code.google.com by [email protected]
on 27 Mar 2012 at 8:04
效果真不错,能否支持编辑功能,即双击某一列可以出现编��
�窗口,编辑其中的内容。
Original issue reported on code.google.com by [email protected]
on 28 Mar 2011 at 3:31
duilib工程在x64下编译会有很多warning,并且link时,会报找不到
Riched20.lib,请问一下是否有计划支持x64?
Original issue reported on code.google.com by [email protected]
on 16 Jul 2012 at 1:15
现在使用的都是COption,然后配合图片表示选中和未选中,感觉��
�有Radio的圈圈和Check的勾直观,如果数量比较多的话,写XML要写�
��较多的重复内容,而且挺长的~
Original issue reported on code.google.com by vkyii00
on 16 Nov 2010 at 3:31
如果xml中包含<ActiveX name="flash"
clsid="{D27CDB6E-AE6D-11CF-96B8-444553540000}"
mouse="false"/>则可视化工具崩溃
Original issue reported on code.google.com by [email protected]
on 1 Jun 2012 at 6:50
MultiUITracker.cpp文件中的ExcludeChildren函数实现有问题
以下是原来的代码:
for(int i=0; i<arrSelected.GetSize()-1; i++)
{
CControlUI* pControl1 = arrSelected[i];
for(int j=i+1; j<arrSelected.GetSize(); j++)
{
if(pDepth[i] == pDepth[j]) continue;
CControlUI* pControl2 = arrSelected[j];
if(pDepth[i] < pDepth[j])
{
int depth = pDepth[j] - pDepth[i];
while(depth-- && pControl2)
pControl2 = pControl2->GetParent();
if(pControl1 == pControl2)
arrSelected.RemoveAt(j--);
}
else
{
int depth = pDepth[i] - pDepth[j];
while(depth-- && pControl1)
pControl1 = pControl1->GetParent();
if(pControl1 == pControl2)
arrSelected.RemoveAt(i--); // 问题1:这里的i已经被remove,后面pControl1已经无效
}
}
}
问题2:循环里面用到pDepth,同时循环里会删除arrSelected里面的元
素,因此一旦有删除的时候,pDepth实际已经不再有效。比如说i
= 0,j = 1时,删除了j = 1;则循环的下一次比较i = 0,j =
1;这里的arrSelected[1]实际是原来的arrSelected[2];但是pDepth[1]还是�
��来的arrSelected[1]的深度。
发一段修改后的代码,仅供参考
int size = arrSelected.GetSize();
int* pDepth = new int[size];
for(int i=0; i<size; i++)
{
ExtendedAttributes* pExtended = (ExtendedAttributes*)arrSelected[i]->GetTag();
pDepth[i] = pExtended->nDepth;
}
bool* pRemoveable = new bool[size];
memset(pRemoveable,0,sizeof(bool)*size);
for(int i=0; i<arrSelected.GetSize()-1; i++)
{
if(pRemoveable[i]) continue;
CControlUI* pControl1 = arrSelected[i];
for(int j=i+1; j<arrSelected.GetSize(); j++)
{
if(pRemoveable[j]) continue;
if(pDepth[i] == pDepth[j]) continue;
CControlUI* pControl2 = arrSelected[j];
if(pDepth[i] < pDepth[j])
{
int depth = pDepth[j] - pDepth[i];
while(depth-- && pControl2)
pControl2 = pControl2->GetParent();
if(pControl1 == pControl2) pRemoveable[j] = true;
}
else
{
int depth = pDepth[i] - pDepth[j];
while(depth-- && pControl1)
pControl1 = pControl1->GetParent();
if(pControl1 == pControl2)
{
pRemoveable[i] = true;
break;
}
}
}
}
int removecount = 0;
for(int i = 0;i < size;++i)
{
if(!pRemoveable[i]) continue;
ASSERT(i >= removecount);
arrSelected.RemoveAt(i-removecount);
++removecount;
}
delete[] pDepth;delete[] pRemoveable;
Original issue reported on code.google.com by [email protected]
on 15 Nov 2011 at 7:03
大家好,有个问题想请教下,如何处理?
dui调用ie的方法很方便,但是有些需求不知道如何处理了,如
下:
打开新窗口的链接都是跑到外部的浏览器打开的,请问有没��
�什么方法能截获ie插件的消息,类似这种打开新窗口的消息��
�
在mfc里面是能处理的,但是mfc里面
ie是一个控件的概念,和现在的 activeX 不大一样。
Original issue reported on code.google.com by [email protected]
on 29 Dec 2011 at 8:51
UIDesigner_1.1.0.0 编译不过去. VS2008
Original issue reported on code.google.com by [email protected]
on 8 May 2011 at 9:08
建议增加新增功能以及修改新功能的文档说明!
在每次更新后修改或者新增的功能以及修改或者新增的.CPP、.
H都
建议用一个文件列表进行版本说明,最好做一个文档维护目��
�
……
Original issue reported on code.google.com by [email protected]
on 7 May 2012 at 12:53
现在svn最新的UIDesigner没有可视化效果,
修改皮肤起来很不方便, 特别是手动编辑XML就更麻烦了.
尝试使用以前官网论坛下载的UI1.3.0.0,
该编辑器有可视化效果,
可是打开某些皮肤会崩溃(比如华为网盘中的NetSkin.xml、VipSkin.
xml等), 所以还是没有解决方案.
UIDesigner是开源的, 但是应该由svn统一维护,
个人花很多时间去改进是毫无用处的,
建议项目组能重视一下.
Original issue reported on code.google.com by [email protected]
on 10 Mar 2012 at 1:18
最近有个小项目需要用到贵团队的duilib项目,但是由于缺乏��
�细的API文档,开始写的代码都是借鉴于Demo程序,很是费劲,
希望贵团队能够总结一份完整的API文档在Wiki上,谢谢!
Original issue reported on code.google.com by [email protected]
on 27 Jan 2012 at 3:18
希望这套类库能发展成为一套可以和商业directui类库相媲美的
界面库.
...
Original issue reported on code.google.com by [email protected]
on 9 Sep 2010 at 10:09
重现问题的步骤?
1. 任意打开一个带编辑框的duilib demo
2. 点击编辑框
3. 将输入法切换成中文输入法
4. 输入法无法找到这个编辑框的光标位置.
输入法的文字提示框应该跟随光标.
Original issue reported on code.google.com by [email protected]
on 27 Jul 2012 at 1:16
我对这个项目很感兴趣, 不知道可否加入?
我已经给你写了一封邮件, 比较详细的陈述了我的情况。
Original issue reported on code.google.com by [email protected]
on 6 Dec 2010 at 5:13
建议RichEdit增加能插入图片的功能
Original issue reported on code.google.com by [email protected]
on 7 Mar 2012 at 5:04
1.
CEditUI的控件文字被编辑修改后,GetText()方法仍然返回原来的�
��符串。
2.
控件编辑器新添加List控件后(不做任何改动),剪切/删除该
List都会崩溃。
Original issue reported on code.google.com by [email protected]
on 6 Oct 2011 at 1:53
窗体上的按钮, 在窗体关闭的时候, void Window::Notify(TNotifyUI&
msg)会收到msg.sType == _T("click")的事件,
导致按钮click事件被触发(实际上用户并没有点击),
这种行为是未定义的.
Original issue reported on code.google.com by [email protected]
on 4 Mar 2012 at 1:54
请开发团队能总结必要的帮助文档
Original issue reported on code.google.com by [email protected]
on 10 Jul 2012 at 3:25
在CList当中不管你是鼠标左键还是有只有 itemclick
消息,自己已经修改过了,可是每次SVN更新后都必须修改下.
if( event.Type == UIEVENT_BUTTONDOWN || event.Type == UIEVENT_RBUTTONDOWN )
Original issue reported on code.google.com by [email protected]
on 23 Jul 2012 at 8:31
感觉duilib现在有些停滞了,发展没有以前块了,但也证明duilib稳
定了。看了下现在还少gif的支持。
Original issue reported on code.google.com by [email protected]
on 7 Mar 2012 at 3:41
为什么duilib选择把Bjarke Viksoe的DirectX的3D动画特效去掉了呢?
http://code.google.com/p/xsandbox/source/detail?r=15
Original issue reported on code.google.com by [email protected]
on 24 Apr 2012 at 5:44
编辑界面后保存,原来XML中的部分未修改的内容会丢失。
如按钮的各种状态的图片。
Original issue reported on code.google.com by [email protected]
on 15 Jul 2011 at 1:35
Line 345
if( pControl == NULL && m_pCallback != NULL ) {
pControl = m_pCallback->CreateControl(pstrClass);
pControl->SetName(pstrClass);
}
希望增加 pControl->SetName(pstrClass);
这行代码,这样创建的控件有自己的name,不然所有回调产生�
��Container的name 都是空,若子控件向上查找,则无法定位。
Original issue reported on code.google.com by [email protected]
on 13 Jun 2012 at 3:53
Duilib现在还在继续进行开发么?另外论坛一直无法访问,不��
�有没有啥打算?
Original issue reported on code.google.com by [email protected]
on 14 Jul 2012 at 4:53
What steps will reproduce the problem?
1. CEdiUI获得焦点并可用 UIEVENT_SETFOCUS &&
IsEnabled()调用CEditWnd的Init
2. Init中调用Create创建窗体
3. Create中调用RegisterWindowClass注册窗体样式,wc.hbrBackground =
(HBRUSH)GetStockObject(BLACK_BRUSH);不起作用,无法修改背景颜色!
What is the expected output? What do you see instead?
修改成和focusedimage图片一样的背景颜色;但是依然是白色!
What version of the product are you using? On what operating system?
r286,Windows XP/7
Original issue reported on code.google.com by [email protected]
on 30 Apr 2012 at 2:15
UIDesignerView.cpp文件中InitUI实现中有如下代码:
for (int i=0;i<pContainer->GetCount();i++)
{
InitUI(pContainer->GetItemAt(i), ++depth);
}
按照我的理解,这个应该是
for (int i=0;i<pContainer->GetCount();i++)
{
InitUI(pContainer->GetItemAt(i), depth+1);
}
请确认~~
Original issue reported on code.google.com by [email protected]
on 15 Nov 2011 at 3:43
1.editui无法在程序启动时默认获取焦点
2.且在界面启动后使用setFocus有时会不灵,尤其是在setFocus之��
�对其他控件操作时
比如:
RECT rect = m_plabOperat->GetPos();
rect.top = 101;
rect.bottom = rect.top + m_plabOperat->GetHeight();
m_plabOperat->SetPos(rect);
m_editPsw->SetFocus();
Original issue reported on code.google.com by [email protected]
on 31 Mar 2012 at 9:09
建议修改或者删除WebBrowserEventHandler.h文件
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(14): warning C4100:
“Cancel”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(14): warning C4100:
“Headers”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(14): warning C4100:
“PostData”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(14): warning C4100:
“TargetFrameName”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(14): warning C4100: “Flags”:
未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(14): warning C4100: “url”:
未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(14): warning C4100: “pDisp”:
未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(15): warning C4100:
“Cancel”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(15): warning C4100:
“StatusCode”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(15): warning C4100:
“TargetFrameName”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(15): warning C4100: “url”:
未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(15): warning C4100: “pDisp”:
未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(16): warning C4100: “url”:
未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(16): warning C4100: “pDisp”:
未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(17): warning C4100:
“nProgressMax”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(17): warning C4100:
“nProgress”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(18): warning C4100:
“bstrUrl”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(18): warning C4100:
“bstrUrlContext”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(18): warning C4100:
“dwFlags”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(18): warning C4100:
“Cancel”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(18): warning C4100: “pDisp”:
未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(25): warning C4100:
“pdispReserved”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(24): warning C4100:
“pcmdtReserved”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(23): warning C4100: “ppt”:
未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(22): warning C4100: “dwID”:
未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(31): warning C4100: “pInfo”:
未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(45): warning C4100: “pDoc”:
未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(44): warning C4100:
“pFrame”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(43): warning C4100:
“pCommandTarget”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(42): warning C4100:
“pActiveObject”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(41): warning C4100: “dwID”:
未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(61): warning C4100:
“fEnable”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(67): warning C4100:
“fActivate”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(73): warning C4100:
“fActivate”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(81): warning C4100:
“fRameWindow”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(80): warning C4100:
“pUIWindow”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(79): warning C4100:
“prcBorder”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(89): warning C4100:
“nCmdID”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(88): warning C4100:
“pguidCmdGroup”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(87): warning C4100: “lpMsg”:
未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(96): warning C4100: “dw”:
未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(95): warning C4100:
“pchKey”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(103): warning C4100:
“ppDropTarget”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(102): warning C4100:
“pDropTarget”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(109): warning C4100:
“ppDispatch”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(117): warning C4100:
“ppchURLOut”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(116): warning C4100:
“pchURLIn”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(115): warning C4100:
“dwTranslate”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(124): warning C4100:
“ppDORet”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(123): warning C4100: “pDO”:
未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(146): warning C4100: “uiCP”:
未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(145): warning C4100:
“pszRedir”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(144): warning C4100:
“pszHeaders”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(143): warning C4100:
“pBindInfo”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(142): warning C4100:
“grfBINDF”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(141): warning C4100:
“dwBindVerb”: 未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(140): warning C4100: “pbc”:
未引用的形参
1>d:\file\rlib\duilib\WebBrowserEventHandler.h(139): warning C4100: “pmk”:
未引用的形参
Original issue reported on code.google.com by [email protected]
on 5 May 2012 at 12:29
demo-360最大化有问题,窗口位置和大小不正确
Original issue reported on code.google.com by [email protected]
on 19 Mar 2011 at 12:55
这三个变量没有初始化,程序退出时导致崩溃。
IDocHostUIHandler* m_HostUIHandler;
IDownloadManager* m_pDownMan;
IDispatch* m_pHostDispatch;
Original issue reported on code.google.com by [email protected]
on 1 Jun 2012 at 6:44
UI desinger bug 修改list的textalign bug,
编辑textalign,后center和left都不能保存。right可以可以保存
Original issue reported on code.google.com by [email protected]
on 6 Jun 2012 at 2:24
我把flash放在一个TAB页中现实,当切换TAB的时候,整个界面就
没了,。只有进程里面有个进程在跑。。这是怎么回事。。��
�面是flash显示和tab切换的代码。。。
else if( msg.sType == _T("showactivex") )
{
if( msg.pSender->GetName() != _T("flash") )
return;
IShockwaveFlash* m_pFlash = NULL;
CActiveXUI* m_pActiveX = static_cast<CActiveXUI*>(msg.pSender);
m_pActiveX->GetControl(IID_IUnknown, (void**)&m_pFlash);
if( m_pFlash != NULL )
{
m_pFlash->put_WMode( _bstr_t(_T("Transparent") ) );
m_pFlash->put_Movie( _bstr_t(CPaintManagerUI::GetInstancePath() + _T("Ui\\test.swf")) );
m_pFlash->DisableLocalSecurity();
m_pFlash->put_AllowScriptAccess(L"always");
BSTR response;
m_pFlash->CallFunction(L"<invoke name=\"setButtonText\" returntype=\"xml\"><arguments><string>Click me!</string></arguments></invoke>", &response);
m_pFlash->Release();
}
}
else if(msg.sType==_T("selectchanged"))
{
CStdString name = msg.pSender->GetName();
CTabLayoutUI* pControl = static_cast<CTabLayoutUI*>(m_pm.FindControl(_T("TabLayoutUI1")));
if(name==_T("knowdev"))
{
pControl->SelectItem(0);
}
else if(name==_T("connect"))
{
pControl->SelectItem(1);
}
else if(name==_T("syscheck"))
{
pControl->SelectItem(2);
}
}
Original issue reported on code.google.com by [email protected]
on 26 Sep 2011 at 1:08
如果将pFlash->put_WMode( _bstr_t(_T("Transparent") )
);注释掉或者改成pFlash->put_WMode( _bstr_t(_T("Window") ) );
则CActiveXCtrl::RegisterEventHandler函数异常导致崩溃,应改为:
HRESULT hr=m_pOwner->GetControl(IID_IWebBrowser2, (void**)&pWebBrowser);
if (FAILED(hr))
return hr;
如果不加判断则pWebBrowser获取失败时执行pWebBrowser->....导致崩�
��。
另外建议将FLASH做成控件。
----------------------------------------------------------------
pActiveX->GetControl(IID_IUnknown, (void**)&pFlash);
if( pFlash != NULL )
{
pFlash->put_WMode( _bstr_t(_T("Transparent") ) );//Transparent
pFlash->put_Movie( _bstr_t(NCApp::GetModulePath() + _T("flash\\loginning.swf")) );
pFlash->DisableLocalSecurity();
pFlash->put_AllowScriptAccess(L"always");
pFlash->Release();
}
Original issue reported on code.google.com by [email protected]
on 1 Jun 2012 at 9:21
UIDesigner 1.06.158 测试窗体存在BUG,
无法关闭弹出的测试窗体以回到设计器中.
另外, 打开测试包内的VIPSkin.xml会导致设计器崩溃
Original issue reported on code.google.com by [email protected]
on 15 Apr 2012 at 1:45
Attachments:
能否增加一些Toolbar和文件打开对话框的演示?
Original issue reported on code.google.com by [email protected]
on 1 Apr 2011 at 2:49
什么时候可以支持菜单功能?
Original issue reported on code.google.com by [email protected]
on 17 Jan 2011 at 2:02
1、UIDesigner
DockPanel关掉后,就没有办法显示出来了,我加了四个按钮,��
�以再次将DockPanel显示出来
2、另外背景是特明时,编辑是黑色,有黑字也显示不出来了
Original issue reported on code.google.com by [email protected]
on 11 Mar 2012 at 1:27
SVN 315版本后导致TAB建无效了
bool CPaintManagerUI::TranslateMessage(const LPMSG pMsg)
{
// Pretranslate Message takes care of system-wide messages, such as
// tabbing and shortcut key-combos. We'll look for all messages for
// each window and any child control attached.
HWND hwndParent = ::GetParent(pMsg->hwnd);
UINT uStyle = GetWindowStyle(pMsg->hwnd);
LRESULT lRes = 0;
bool preHandled = false;
for (int i = 0; i < m_aPreMessages.GetSize(); i++)
{
CPaintManagerUI *pT = static_cast<CPaintManagerUI *>(m_aPreMessages[i]);
if (pMsg->hwnd == pT->GetPaintWindow()
|| (hwndParent == pT->GetPaintWindow() && ((uStyle & WS_CHILD) != 0)))
{
if (pT->PreMessageHandler(pMsg->message, pMsg->wParam, pMsg->lParam, lRes))
return true;
// 消息不再传递到TranslateAcce中,若存在多个窗口,加速键消息在webbrowser中被处理后
// 会导致其他窗口内Edit部分按键消息(回格键、方向键)无法响应
preHandled = true;
}
}
if (!preHandled)
{
for (int i = 0; i < m_aPreMessages.GetSize(); i++)
{
CPaintManagerUI *pT = static_cast<CPaintManagerUI *>(m_aPreMessages[i]);
if (pMsg->hwnd != pT->GetPaintWindow())
{
if (pT->TranslateAccelerator(pMsg))
return true;
}
}
}
return false;
}
Original issue reported on code.google.com by [email protected]
on 24 Jul 2012 at 12:23
void CPaintManagerUI::KillTimer(CControlUI* pControl)
{
ASSERT(pControl!=NULL);
int count = m_aTimers.GetSize();
for( int i = 0, j = 0; i < count; i++ ) {
TIMERINFO* pTimer = static_cast<TIMERINFO*>(m_aTimers[i - j]);
if( pTimer->pSender == pControl && pTimer->hWnd == m_hWndPaint ) {
if( pTimer->bKilled == false ) ::KillTimer(pTimer->hWnd, pTimer->uWinTimer);
m_aTimers.Remove(i - j);
delete pTimer; // 这里应该删掉 pTimer
j++;
}
}
}
Original issue reported on code.google.com by [email protected]
on 21 Mar 2012 at 2:39
CContainerUI::PageUP()
CContainerUI::PageDown()
Original issue reported on code.google.com by [email protected]
on 21 Mar 2011 at 5:32
浏览了下,似乎是没有类似定位光标的功能,是否有而我没��
�注意?
Original issue reported on code.google.com by [email protected]
on 3 May 2012 at 2:05
示例:
新建一个按钮(如果没有), 更改其属性(如将Enable设为false), 设计器中按钮变色(说明修改成功),但保存后XML中没有体现(就是无法保存修改).
版本:
2011.10.05 从SVN下的最新版本设计器(源码自编译).
说明:
支持DuiLib持续更新!
另外:
按钮状态图片的边角设置貌似没有效果,不知如何设置才能够去除四个角的点使之圆润.
Original issue reported on code.google.com by [email protected]
on 5 Oct 2011 at 7:08
用界面设计工具UIDesigner 打开 test1.xml
文件,什么也不做,直接保存,然后再运行
TestApp1.exe或
JSDemo.exe,丢失了一些东西,如RichEdit,而且保存前后的xml文件确��
�也不一样
Original issue reported on code.google.com by [email protected]
on 7 Jun 2011 at 2:02
画不出来垂直滚动条
Original issue reported on code.google.com by [email protected]
on 11 Jun 2012 at 9:08
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.