Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Full Screen button bug (A bug when we have two monitors, on choosing the right one.)
Re: Full Screen button bug [message #54762 is a reply to message #54761] |
Wed, 09 September 2020 10:45 |
Bugman
Messages: 2 Registered: September 2020 Location: Athens
|
Junior Member |
|
|
1. At the panel Help Topics, at the toolbar in the panel, there is an icon which display info:Display on full screen.
2. Api for this:
A copy from https://github.com/M2000Interpreter/Version9/blob/master/mon itor.bas
Private Declare Function EnumDisplayMonitors Lib "user32" (ByVal hDC As Long, lprcClip As Any, ByVal lpfnEnum As Long, dwData As Any) As Long
Public Declare Function MonitorFromPoint Lib "user32" (ByVal X As Long, ByVal Y As Long, ByVal dwFlags As Long) As Long
Private Declare Function MonitorFromWindow Lib "user32" (ByVal hWnd As Long, ByVal dwFlags As Long) As Long
Private Declare Function GetMonitorInfo Lib "user32" Alias "GetMonitorInfoA" (ByVal hmonitor As Long, ByRef lpmi As MONITORINFO) As Long
Private Declare Function GetWindowRect Lib "user32" (ByVal hWnd As Long, lpRect As RECT) As Long
Private Declare Function UnionRect Lib "user32" (lprcDst As RECT, lprcSrc1 As RECT, lprcSrc2 As RECT) As Long
Private Declare Function OffsetRect Lib "user32" (lpRect As RECT, ByVal X As Long, ByVal Y As Long) As Long
Private Declare Function MoveWindow Lib "user32" (ByVal hWnd As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal bRepaint As Long) As Long
|
|
|
Goto Forum:
Current Time: Sun May 12 00:32:21 CEST 2024
Total time taken to generate the page: 0.03634 seconds
|