Thread: Help with prog

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Banned
    Join Date
    May 2004
    Posts
    55

    Help with prog

    Hello, I'm going to make a program that first reads from program.ini and then writes what stands inside (when a key is pressed), like, you press f12 and it writes your password directly, but I've got stuck here:
    Code:
        switch (message)
        {
            case WM_DESTROY:
                PostQuitMessage (0);
                break;
            case WM_CLOSE:
                DestroyWindow(hwnd);
                break;
            case WM_KEYDOWN:
                switch (wParam)
                {
                    case VK_F12:
                    // The code to write whats inside program.ini
                }
            default:
                return DefWindowProc (hwnd, message, wParam, lParam);
        }
    grateful for answer
    Last edited by Noxir; 08-16-2004 at 10:18 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Assembly amature question: prog errors
    By geek@02 in forum Tech Board
    Replies: 1
    Last Post: 10-03-2008, 01:35 PM
  2. Getting input from another prog?
    By Badman3k in forum C Programming
    Replies: 4
    Last Post: 11-11-2004, 02:58 AM
  3. an option at the end of this prog to ask if I want to run again
    By bandito9111 in forum C++ Programming
    Replies: 2
    Last Post: 03-31-2003, 02:30 PM
  4. Try my prog...
    By Commander in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 05-09-2002, 07:43 AM
  5. password prog
    By ihsir in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 01-06-2002, 06:39 AM