Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows API
  4. win 32 api with c

win 32 api with c

Scheduled Pinned Locked Moved Windows API
jsonquestion
4 Posts 3 Posters 35 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kebedeaka
    wrote on last edited by
    #1

    Actually I am a new learner for win32 api How can Create new window with all new button and new window when one button is clicked. Can I make whole program as one function? If so, how?

    A L 2 Replies Last reply
    0
    • K Kebedeaka

      Actually I am a new learner for win32 api How can Create new window with all new button and new window when one button is clicked. Can I make whole program as one function? If so, how?

      A Offline
      A Offline
      Afzaal Ahmad Zeeshan
      wrote on last edited by
      #2

      If you are a learner, my recommendation will be to learn MFC instead of Win32, there is just one thing that it won't be much C but C++ as MFC provides a much easier and friendly interface for beginners to learn basic programming. MFC uses native Win32 handling and allows you to write the applications, instead of managing the low-level details of it; Win32 goes deep. One simple thread to talk about is, [winapi - Visual C++ Win32 or MFC C++? - Stack Overflow](http://stackoverflow.com/questions/17290635/visual-c-win32-or-mfc-c), and then you can easily learn basics of MFC; creating new windows, handling button events etc. [MFC Tutorial - Creating a window with two classes](https://www.codeproject.com/Articles/6380/MFC-Tutorial-Creating-a-window-with-two-classes)

      The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

      K 1 Reply Last reply
      0
      • K Kebedeaka

        Actually I am a new learner for win32 api How can Create new window with all new button and new window when one button is clicked. Can I make whole program as one function? If so, how?

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Yes you can, but there are quite a few rules that you need to understand in Windows programming. There are some very good tutorials at Win32 Programming - FunctionX[^] and EFNet #Winprog[^]

        1 Reply Last reply
        0
        • A Afzaal Ahmad Zeeshan

          If you are a learner, my recommendation will be to learn MFC instead of Win32, there is just one thing that it won't be much C but C++ as MFC provides a much easier and friendly interface for beginners to learn basic programming. MFC uses native Win32 handling and allows you to write the applications, instead of managing the low-level details of it; Win32 goes deep. One simple thread to talk about is, [winapi - Visual C++ Win32 or MFC C++? - Stack Overflow](http://stackoverflow.com/questions/17290635/visual-c-win32-or-mfc-c), and then you can easily learn basics of MFC; creating new windows, handling button events etc. [MFC Tutorial - Creating a window with two classes](https://www.codeproject.com/Articles/6380/MFC-Tutorial-Creating-a-window-with-two-classes)

          The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

          K Offline
          K Offline
          Kebedeaka
          wrote on last edited by
          #4

          I already started win32 api. I know the basic. I want to develop a program which support education. The program I want to do this In the first page or window a list of buttons(Eg. Physics, Mathematics...) When user click on this buttons a new screen with a list of buttons(Example in Physics button- Static, Dynamics...) After User click on of the button(Example Statics) New window with a full of text that describe about static Beside this this program has back and home button. Back button backward the on step down. Home button to the initial screen

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups