Need help getting windows handles

This is a discussion on Need help getting windows handles within the Windows Programming forums, part of the Platform Specific Boards category; Hello... Experimenting with macro programs. Wondering how to get a window handle based on a user inputted name of the ...

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    1

    Need help getting windows handles

    Hello...

    Experimenting with macro programs.

    Wondering how to get a window handle based on a user inputted name of the window?

    Thank you so much!

    Sincerely,
    Jim

  2. #2
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    FindWindow().
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  3. #3
    Registered User
    Join Date
    Aug 2002
    Posts
    170
    You may find it easier to have the user click on the desired window. There are lots of exaples available for this method. I haven't tried it, but I have seen it used a lot.
    Best Regards,

    Bonkey

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Just starting Windows Programming, School me!
    By Shamino in forum Windows Programming
    Replies: 17
    Last Post: 02-22-2008, 08:14 AM
  2. how to make a windows application
    By crvenkapa in forum C++ Programming
    Replies: 3
    Last Post: 03-26-2007, 10:59 AM
  3. Windows handles
    By marc74 in forum Windows Programming
    Replies: 8
    Last Post: 01-05-2005, 10:33 AM
  4. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 06:31 PM
  5. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 10:37 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21