Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. screen saver in vb6.0

screen saver in vb6.0

Scheduled Pinned Locked Moved Visual Basic
collaborationhelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    Xtrisk
    wrote on last edited by
    #1

    Dear Team Members, I am stuck at a point and so desire to be helped out of loop. I want to implement a screen saver application with my vb6.0 application. It is for touch screen enabled application .....so no keyboard but only Numberpad. If a user does not touch the screen for period of 30 seconds , the screen saver is envoked and it remains till the user touches the screen again. How do I check the idle time .. It goes like ......... if no_mouse_event & timeinterval=30 do call routine screensaver loop untill no_mouse_event=FALSE endif :confused: I guess, I have understood what i wanted but my inexperienced programming tact make me a sufferer. Can any :cool: soft hearted do the favor :rose: to me. Xtrisk........

    I 1 Reply Last reply
    0
    • X Xtrisk

      Dear Team Members, I am stuck at a point and so desire to be helped out of loop. I want to implement a screen saver application with my vb6.0 application. It is for touch screen enabled application .....so no keyboard but only Numberpad. If a user does not touch the screen for period of 30 seconds , the screen saver is envoked and it remains till the user touches the screen again. How do I check the idle time .. It goes like ......... if no_mouse_event & timeinterval=30 do call routine screensaver loop untill no_mouse_event=FALSE endif :confused: I guess, I have understood what i wanted but my inexperienced programming tact make me a sufferer. Can any :cool: soft hearted do the favor :rose: to me. Xtrisk........

      I Offline
      I Offline
      iluha
      wrote on last edited by
      #2

      I don't know what OS this for, but in 2000 & XP there is a function called GetLastInputInfo. The function parameter is LASTINPUTINFO structure: Private Type LASTINPUTINFO cbSize As Long ' = 8 dwTime As Long End Type As far as the time you can add a windows timer (SetTimer) or add a timer control (vb) You can compare the LASTINPUTINFO.dwTime against GetTickCount() function to calculate the time elapsed. Hope this helps:) iluha

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups