Bentley Communities
Site
Search
User
Site
Search
User
Welcome to Bentley Communities
Bentley's Communities
Bentley 中国优先社区
Cancel
Bentley 中国优先社区
◆ 二次开发(MicroStation编程, ProjectWise编程等)
[MSCE C#]如何获取顶部菜单和工具栏的高度?
Sign In
Bentley 中国优先社区 requires membership for participation - click to join
State
Verified Answer
+1
person also asked this
people also asked this
Replies
14 replies
Subscribers
79 subscribers
Views
4015 views
Users
0 members are here
[MSCE C#]如何获取顶部菜单和工具栏的高度?
Offline
lingwei liu
over 4 years ago
Top Replies
Offline
dorlig na
Mon, May 6 2019 11:31 PM
in reply to
lingwei liu
+2
verified
是的。在加上一个判断。 if (mdlWindow_isGlobalPointConversionRequired (viewWindow->GetScreenNumber ())) mdlWindow_globalPointConversionIncrease (&globlePoint, viewWindow, &pointInMDLclient);
Offline
lingwei liu
Tue, May 7 2019 5:01 AM
in reply to
Yongan.Fu
+2
verified
搞定,结贴,谢谢二位大佬! C++端: extern "C" __declspec(dllexport) void __stdcall worldPointToGlobalScreenPoint(int viewNumber, DPoint3d worldPoint, Point2d* globalScreenPoint) { MSDialogP viewWindow = mdlWindow_viewWindowGet…