Few Newbie Questions

This is a discussion on Few Newbie Questions within the Windows Programming forums, part of the Platform Specific Boards category; Alright, I need some resources if possible or just a nudge in the right direction with the following few things. ...

  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    6

    Few Newbie Questions

    Alright, I need some resources if possible or just a nudge in the right direction with the following few things.

    First of all, I need to know about SendKeys (I'm not sure if VC++ has this function as it exists in Visual Basic). If there is no sendkeys, I need another way to accomplish the same goal.

    Secondly, I need to know how to switch windows at a certain command or time as I specify. For example, at 7:00 pm the program would open up notepad and type a few things with SendKeys.

    Finally, I need a lot of good resources on working with time.

    Thank you for your time and help.

    ------MaTrIxXx------

  2. #2
    Registered User
    Join Date
    Jun 2003
    Posts
    245
    I think what you want is to get MSDN from Microsoft, it will explain everything you require in detail.

    The "SendInput" function synthesizes keystrokes, mouse motions, and button clicks.

    ShowWindow will allow you to switch windows whenever you like.

    Use "system" or "ShellExecute" or others to execute programs.

    The "SetTimer" function creates a timer with the specified time-out value.

    The "QueryPerformanceCounter" function retrieves the current value of the high-resolution performance counter.

    The "time" will retrieve the current time in seconds.

  3. #3
    Registered User
    Join Date
    Aug 2003
    Posts
    6
    Thank you, I guess i have to research to do through MSDN now. Thanks again

  4. #4
    Registered User
    Join Date
    Aug 2003
    Posts
    6
    ALright, everything so far has been goin good. I've done a lot of the things I need to know about so far, but I'm still at a complete loss in terms of the time functions. Actually, I just can't find any resources anywhere on time in C/C++, and I wouldn't even know what libraries to include to use them.

    Any help or especially links to resources would be greatly appreciated. Thank you very much.

    --------MaTrIxXx---------

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Memory handling functions (newbie questions)
    By PaulBlay in forum C Programming
    Replies: 6
    Last Post: 03-10-2009, 06:37 AM
  2. newbie questions
    By raptorx in forum C Programming
    Replies: 2
    Last Post: 10-10-2007, 09:30 PM
  3. Im a newbie to C and i have some questions
    By pave1104 in forum C Programming
    Replies: 5
    Last Post: 07-05-2006, 09:48 PM
  4. I have some newbie questions
    By Myra Mains in forum C++ Programming
    Replies: 6
    Last Post: 05-06-2002, 09:30 PM
  5. Real newbie with VC6 questions
    By MagiZedd in forum Windows Programming
    Replies: 8
    Last Post: 10-15-2001, 08:27 PM

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