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. C#
  4. Finiding the name of Opened windows which is on task bar

Finiding the name of Opened windows which is on task bar

Scheduled Pinned Locked Moved C#
helpquestion
4 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.
  • L Offline
    L Offline
    Lijo Rajan
    wrote on last edited by
    #1

    Hi all, I want to find out the name and path if all opened windows which is on task bar. Can anyone help me to get that??? Regards Lijo

    A 1 Reply Last reply
    0
    • L Lijo Rajan

      Hi all, I want to find out the name and path if all opened windows which is on task bar. Can anyone help me to get that??? Regards Lijo

      A Offline
      A Offline
      ABitSmart
      wrote on last edited by
      #2

      See here[^]

      L 1 Reply Last reply
      0
      • A ABitSmart

        See here[^]

        L Offline
        L Offline
        Lijo Rajan
        wrote on last edited by
        #3

        Thanks a lot for ur reply. but from that link i will get only process name.i want all application names which is on task bar.can u plse give me little more clear idea on this??? Regards Lijo

        A 1 Reply Last reply
        0
        • L Lijo Rajan

          Thanks a lot for ur reply. but from that link i will get only process name.i want all application names which is on task bar.can u plse give me little more clear idea on this??? Regards Lijo

          A Offline
          A Offline
          ABitSmart
          wrote on last edited by
          #4

          Lijo Rajan wrote:

          i want all application names which is on task bar

          Can you explain a bit more ? Your orignal question was to get all name of opened windows on task bar. The link provides alternate ways to achieve that. The simplest being, if (p.MainWindowHandle != 0) { // This is a GUI process } else { // this is a non-GUI / invisible process } You get all processes using Process.GetProcesses and then loop to check as above. But there are other better means using Window's API which is also mentioned in the post.

          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