Thread: Just Getting Into This Stuff...

  1. #1
    Registered User
    Join Date
    Nov 2005

    Just Getting Into This Stuff...

    I have been taking a little look at Win32 API and I have sort of understood the creation of Windows, I was wondering if it is necessary to know the code that you make it with or just the changes that you would need to make to the code. So far I know how to make a message pop-up when (for example) the window is minimized. How would I output text onto the screen and maybe get an input from the user, like you do with console programming.

  2. #2
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Don't you feel you need a tutorial?
    As I remember Win32 meesage box function gets its message as an argument.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  3. #3
    Registered User
    Join Date
    Nov 2005
    Ok, the forge'r's tutorial has stuff about text but it is written in C, whereas the tutorial I use is in C++ but doesn't seem to say anything about text.

  4. #4
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    New York
    Tutorial in C++ involving text with textout and some simple operations with edit controls

    You could use the simple control thing by plugging something like this into your code (inside WM_CREATE or something)

    HWND hEdit = CreateWindow("EDIT", "", WS_CHILD | WS_VISIBLE, 10, 10, 50, 20, hwnd, (HMENU) 0x1234, GetModuleHandle(0), 0);
    Edit edit(hwnd, 0x1234);
    And then do stuff with edit. Alternatively you could learn about resources and create resource based controls instead of createwindow.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Tab key stuff. C+WinAPI is killing me. Please help.
    By Templario in forum Windows Programming
    Replies: 5
    Last Post: 11-21-2002, 03:35 PM
  2. arguments, directories and stuff...
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 06-26-2002, 05:46 PM
  3. Your stuff
    By smog890 in forum C Programming
    Replies: 6
    Last Post: 06-13-2002, 11:50 PM
  4. Linked lists and file i/o, and some other stuff
    By ninja in forum C++ Programming
    Replies: 9
    Last Post: 05-19-2002, 07:15 PM
  5. DirectX 8.1 SDK Tutorials And Stuff
    By c++_n00b in forum Game Programming
    Replies: 3
    Last Post: 04-06-2002, 09:01 AM