Question

  • Creator
    Topic
  • #2225878

    my screen flickers whith funny lines

    Locked

    by sonic_the_dude ·

    my laptop screen flickers when i turn it on like has funny lines through it and when i plug it in to another monitor its still the same

All Answers

  • Author
    Replies
    • #2636023

      Clarifications

      by sonic_the_dude ·

      In reply to my screen flickers whith funny lines

      Clarifications

    • #2636006

      VGA driver Problem

      by rehanz_138 ·

      In reply to my screen flickers whith funny lines

      May be your VGA driver needs to be changed/ reinstalled. Another problem may be electromagnetic field neer computer.

      • #2635988

        He has been reading the “Friday Yuk” too much!

        by absolutely ·

        In reply to VGA driver Problem

        I’m sorry, that was not helpful.

        :^0

        OK, in seriousness, I disagree about the electromagnetic field: that should only affect a CRT, not a laptop monitor which must be LCD, thus not bothered by magnetic fields. The VGA driver is a strong possibility.

        Did the problem start after installing/uninstalling some piece of software?

    • #2635920

      regarding flickering of ur screen

      by selvakumarips ·

      In reply to my screen flickers whith funny lines

      u plz change your screen refresh rate
      right click your desktop -> properties ->settings ->advanced->monitor->screen refresh rate(plz change to high refresh rate)

    • #2620191

      Does this happen when you first turn on or after a

      by oh smeg ·

      In reply to my screen flickers whith funny lines

      Long spell of running on the restart?

      If it’s happening from the very start it [b]Can Not[/b] be a Video Driver as these are not loaded till the OS is running so if this is happening in the BIOS or early Windows Splash Screens while cold it points to a bad Video Card or a faulty Video Chip on the M’Board. Without more information it’s impossible to say any more here about a possible solution.

      If this only happens on a restart after everything is hot you can probably solve the problem with a NB Cooler.

      Col

    • #2469868

      Here is what I found about the problem

      by jperez ·

      In reply to my screen flickers whith funny lines

      The problme with t WM-Erasebk-gng

      Here is the code to fix it.LRESULT CALLBACK NoFlickerWndProc(HWND hWnd, UINT msg,
      WPARAM wParam, LPARAM lParam)
      {
      PAINTSTRUCT ps;

      switch(msg) {
      case WM_SETTEXT:
      lstrcpy(szCaption, (LPSTR)lParam);
      InvalidateRect(hWnd, NULL, TRUE);
      break;

      case WM_SETFONT:
      hfnt = (HFONT) wParam;
      break;

      case WM_ERASEBKGND:
      return (LRESULT)1; // Say we handled it.

      case WM_PAINT:
      BeginPaint(hWnd, &ps);
      Paint(hWnd, &ps);
      EndPaint(hWnd, &ps);
      break;

      default:
      return DefWindowProc(hWnd, msg, wParam, lParam);
      break;
      }
      return NULL;
      }

      static void Paint(HWND hWnd, LPPAINTSTRUCT lpPS)
      {
      RECT rc;
      HDC hdcMem;
      HBITMAP hbmMem, hbmOld;
      HBRUSH hbrBkGnd;
      HFONT hfntOld;

      //
      // Get the size of the client rectangle.
      //

      GetClientRect(hWnd, &rc);

      //
      // Create a compatible DC.
      //

      hdcMem = CreateCompatibleDC(lpPS->hdc);

      //
      // Create a bitmap big enough for our client rectangle.
      //

      hbmMem = CreateCompatibleBitmap(lpPS->hdc,
      rc.right-rc.left,
      rc.bottom-rc.top);

      //
      // Select the bitmap into the off-screen DC.
      //

      hbmOld = SelectObject(hdcMem, hbmMem);

      //
      // Erase the background.
      //

      hbrBkGnd = CreateSolidBrush(GetSysColor(COLOR_WINDOW));
      FillRect(hdcMem, &rc, hbrBkGnd);
      DeleteObject(hbrBkGnd);

      //
      // Select the font.
      //

      if (hfnt) {
      hfntOld = SelectObject(hdcMem, hfnt);
      }

      //
      // Render the image into the offscreen DC.
      //

      SetBkMode(hdcMem, TRANSPARENT);
      SetTextColor(hdcMem, GetSysColor(COLOR_WINDOWTEXT));
      DrawText(hdcMem,
      szCaption,
      -1,
      &rc,
      DT_CENTER);

      if (hfntOld) {
      SelectObject(hdcMem, hfntOld);
      }

      //
      // Blt the changes to the screen DC.
      //

      BitBlt(lpPS->hdc,
      rc.left, rc.top,
      rc.right-rc.left, rc.bottom-rc.top,
      hdcMem,
      0, 0,
      SRCCOPY);

      //
      // Done with off-screen bitmap and DC.
      //

      SelectObject(hdcMem, hbmOld);
      DeleteObject(hbmMem);
      DeleteDC(hdcMem);

      }

Viewing 4 reply threads