Thread: creating a button

  1. #16
    Registered Abuser
    Join Date
    Jun 2006
    Location
    Toronto
    Posts
    591
    Well then, I must be a genious-steven-hawking-protege, because not even within 20 minutes of reading that site (and no prior knowledge of winapi) I was able to setup and create my first window and button. Despite how much I'd like to believe it here, neither winprog.org or MSDN is written in some unbelievably cryptic manner (moreso the first rather than latter) that you cannot surmise from the tutorials how to create something as simple as a button.
    Believe me, I am glad that you got the help, but I am trying to take the next step and get you to be able to give yourself the help. If you need someone to spoon feed you each parameter of CreateWindow, then god help you when you begin to use MSDN.

  2. #17
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    You are angry for a Canadian. Maybe he is a beginner in more ways than the API. If you have prior programming knowledge of course it is easier to pick up on the API. But if you are trying to learn the API without a strong base in C or C++ it will be more difficult to understand the concepts.
    Woop?

  3. #18
    Registered User
    Join Date
    Mar 2007
    Posts
    416
    Quote Originally Posted by prog-bman View Post
    You are angry for a Canadian. Maybe he is a beginner in more ways than the API. If you have prior programming knowledge of course it is easier to pick up on the API. But if you are trying to learn the API without a strong base in C or C++ it will be more difficult to understand the concepts.
    Thank you for being understanding.

    For the record, I took one semester of C/C++ that went through cout, while(), do()while, for(), if, and switch statements. Jumping from console programming to API/windows/whatever programming with little knowledge of it is pretty hard, especially since i'm doing it on my own through reading online tutorials, books, and trying to get help from forums. Maybe I was wrong, i'll just stick with my books and online tutorials if everyone is so quick to make judgements.
    Last edited by scwizzo; 06-07-2007 at 05:14 PM.

  4. #19
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    There is no need to be down and out cause of a couple bad experiences on the forum. It happens to us all. Most the time as long you are asking a reasonable question and show a bit of your code proving that you are trying people will be willing to help. It's a great way to learn and then once you learn you can give back by answering questions yourself. This place was a very nice resource for help when I was starting off. Not by me just asking questions, but me trying to answer questions. So just keep up the work, I would though suggest you do maybe work on getting a more solid foundation in C/C++ before you step into the ring of win32.
    Woop?

  5. #20
    Registered Abuser
    Join Date
    Jun 2006
    Location
    Toronto
    Posts
    591
    Quote Originally Posted by prog-bman View Post
    You are angry for a Canadian. Maybe he is a beginner in more ways than the API. If you have prior programming knowledge of course it is easier to pick up on the API. But if you are trying to learn the API without a strong base in C or C++ it will be more difficult to understand the concepts.
    And that's why you first strengthen your base in C until your comfortable enough to know what a function parameter is before you even think of touching winAPI. Infact, what does knowledge of C have to do with the ability to read?
    I'm really trying not to extend this topic any longer than it needs to be, but if we cater to every person who wants us to fill in/create parameter lists, structure members, etc for them, somehow I think there will be many more of just these topics.
    If I seem a bit frank, curt, or even snide, its not because you've erred out inexperience, its because you've erred out of laziness.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Profiler Valgrind
    By afflictedd2 in forum C++ Programming
    Replies: 4
    Last Post: 07-18-2008, 09:38 AM
  2. Creating a function pointer from a button click event?
    By dxfoo in forum Windows Programming
    Replies: 20
    Last Post: 01-29-2008, 03:35 AM
  3. creating a button without a focus rect
    By X PaYnE X in forum Windows Programming
    Replies: 0
    Last Post: 05-11-2005, 10:16 PM
  4. Creating my own button
    By minesweeper in forum Windows Programming
    Replies: 1
    Last Post: 07-19-2002, 01:38 PM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM