Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当xml中包含其他资源文件时,DuilibPreview集成到notepad++时会加载资源失败 #2

Closed
yythac opened this issue Jul 11, 2019 · 1 comment

Comments

@yythac
Copy link

yythac commented Jul 11, 2019

经过调试,在以下位置加一行代码就可以了
pPreviewForm->SetSkinFolder(filepath->Left(n).GetData());
SetCurrentDirectory(pPreviewForm->GetSkinFolder());
pPreviewForm->Create(NULL, _T("预览窗口"), UI_WNDSTYLE_FRAME, WS_EX_WINDOWEDGE);

@yythac yythac changed the title 当xml中包含其他资源文件时,集成到notepad++时会加载资源失败 当xml中包含其他资源文件时,DuilibPreview集成到notepad++时会加载资源失败 Jul 11, 2019
@juhuaguai
Copy link
Owner

经过调试,在以下位置加一行代码就可以了
pPreviewForm->SetSkinFolder(filepath->Left(n).GetData());
SetCurrentDirectory(pPreviewForm->GetSkinFolder());
pPreviewForm->Create(NULL, _T("预览窗口"), UI_WNDSTYLE_FRAME, WS_EX_WINDOWEDGE);

已经复制修改并上传了,感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants