Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

till69

Member
  • Content Count

    1
  • Joined

  • Last visited

Awards


This user doesn't have any awards

About till69

  • Title
    Newbie
  1. till69

    LG 34UC88: 75Hz with Nvidia card?

    Here a little VB.Net tool, which fixes the FrameSkipping@75hz after monitor wakeup. Works nice with my new 38WK95, just run once after boot: Public Class Form1 Declare Function ChangeDisplaySettingsA Lib "user32.dll" (ByVal lpDevMode As Integer, ByVal dwflags As Integer) As Integer Declare Function RegisterPowerSettingNotification Lib "user32.dll" (hRecipient As IntPtr, ByRef NotificationFilter As Guid, Flags As Integer) As IntPtr Declare Function UnregisterPowerSettingNotification Lib "user32.dll" (ByVal Handle As IntPtr) As Boolean Protected Overrides Sub WndProc(ByRef m As Message) If m.Msg = &H218 AndAlso m.WParam = &H8013 Then If System.Runtime.InteropServices.Marshal.ReadInt32(m.LParam, 20) = 1 Then Threading.Thread.Sleep(1000) ChangeDisplaySettingsA(0, &H20000000) End If End If MyBase.WndProc(m) End Sub Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load Me.Tag = RegisterPowerSettingNotification(Me.Handle, New Guid("02731015-4510-4526-99E6-E5A17EBD1AEA"), 0) Me.Visible = False End Sub Private Sub Form1_Closed(sender As Object, e As EventArgs) Handles Me.Closed UnregisterPowerSettingNotification(Me.Tag) End Sub End Class DisplayReset.exe
×