Results 1 to 5 of 5

Thread: URGENT - Api Question

  1. #1

    Thread Starter
    Lively Member FantastichenEin's Avatar
    Join Date
    Mar 2000
    Location
    dairy
    Posts
    106
    Hello,
    I need to get the pathname of a window, all I know is the Hwnd,
    There must be a way to do this,
    Many Thanks,
    ****

  2. #2
    Lively Member
    Join Date
    May 2000
    Location
    Norway
    Posts
    112
    What do you mean by pathname?

    Mainparent\parent\parent\...\parent\window ?

  3. #3
    Guest
    You can't find a path name of a Window. Only the path from a executeble.

    But i dont know how. Perhaps you could use a Dir function for it.

  4. #4

    Thread Starter
    Lively Member FantastichenEin's Avatar
    Join Date
    Mar 2000
    Location
    dairy
    Posts
    106

    Api

    No sorry,
    I mean i need the full file path as in C:\windows\calc.exe.
    I don't want to use the caption of the window.
    There must be a way
    Thanks for the reply
    ****

  5. #5
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width