打开终端输入 xrandr 得到如下信息 Screen 0: minimum 320 x 200, current 2390 x 768, maximum 8192 x 8192 LVDS connected primary 1366x768+1024+0 (normal left inverted right x axis y axis) 309mm x 174mm 1366x768 60.0*+ 1280x720 59.9 1152x768 59.8 1024x768 59.9 800x60
问题背景: 现在在搞PC端应用开发,我们开发中需要调用系统的窗口以及需要最大化最小化,缩放窗口拖拽窗口,以及设置窗口位置,去边框等功能 解决根据: 使用user32.dll解决 具体功能: Unity中对Windows窗口设置 <1>.unity中调用打开文件窗口和保存窗口: 调用Comdlg32.dll中方法 using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Inte
procedure Tfrm_Main.FormCreate(Sender: TObject); var ScreenSvc: IFMXScreenService; Size: TPointF; begin if TPlatformServices.Current.SupportsPlatformService (IFMXScreenService, IInterface(ScreenSvc)) then begin Size := ScreenSvc.GetScreenSize; end; e
new ubuntu system setting - Expansion screen settings. 1,System Settings–>Displays 1,set big screen as main show. 2,mathine location as screen location.