Author Topic: Win32 API Programming  (Read 7094 times)

0 Members and 2 Guests are viewing this topic.

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
Win32 API Programming
« on: February 10, 2007, 02:32:00 pm »
Does anybody know Win32 API programming here. I got the basics down and I have the menu toolbar, and I handle all the messages and I know how to use resources. I just need to know how to make fine tuned stuff like textbox with scrolling and getting info from textboxes and then printing and all that good stuff
There are 10 types of people in this world-- those that can read binary, and those that can't.

Fallen Ghost

  • Guest
Win32 API Programming
« Reply #1 on: February 10, 2007, 02:36:00 pm »
Well, I had found some tutorials for C++ (or C, whatever) Win 32 API and they showed a bit of text input/processing, but most of the functions were to be found in MSDN's library.

http://www.winprog.org/tutorial/

I left that because I hadn't got any decent tutorials for it. Have you found some? What program do you use to compile?

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
Win32 API Programming
« Reply #2 on: February 10, 2007, 05:11:00 pm »
No I have not found any good tutorials but I use Dev-C++ for everything cause it's perfect for everything. Also Dev-C++ holds a cache of your last compile so say you only change one thing then it will only take .1 second to compile because it uses a type of "smart" compiler.

EDIT: I have read that tutorial that you posted :/confused.gif and it is not really a tutorial because when you get to Text boxes and things he explains nothing so it doesn't help much thanks anyways though
There are 10 types of people in this world-- those that can read binary, and those that can't.

Offline bfr

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 819
  • Rating: +4/-0
    • View Profile
    • bfr's website
Win32 API Programming
« Reply #3 on: February 10, 2007, 05:53:00 pm »
http://www.relisoft.com/win32/index.htm

The first result of a Google search for "windows api C++ tutorials."

Know that there are also cross-platform GUI toolkits such as wxWidgets and Qt.  

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
Win32 API Programming
« Reply #4 on: February 10, 2007, 06:13:00 pm »
I don't need cross-platform I am just making a database for my dad that he is using for his business.

EDIT: also I have seen that site before too. I searched "Win32 API C++ Programming" it gets the same results
There are 10 types of people in this world-- those that can read binary, and those that can't.

Fallen Ghost

  • Guest
Win32 API Programming
« Reply #5 on: February 11, 2007, 01:32:00 am »
Well, if you are realy desesperate, try searching the online http://msdn2.microsoft.com/fr-ca/visualc/aa336453.aspx (Microsoft's function library) and if you need, there is the affiliated forum.

But most can be found through the library and its archives. http://msdn2.microsoft.com/en-us/library/3bstk3k5.aspx

I already worked a bit with text box and managed to transfer the string to a double floating. I normaly used Dev-C++ (maybe you had the official compiler from Microsoft).

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
Win32 API Programming
« Reply #6 on: February 11, 2007, 07:05:00 am »
No I don't have the official compiler but I don't know what you are getting at. It seems as though you are saying it doesn't compile win32 sources. Well try this with Dev-C++

main.h
c1-->
CODE
ec1
#define IDI_ICON   101

#define ID_MENU 501

#define IDM_FILENEW
There are 10 types of people in this world-- those that can read binary, and those that can't.

Fallen Ghost

  • Guest
Win32 API Programming
« Reply #7 on: February 11, 2007, 12:18:00 pm »
Sorry to be unclear: I use Dev-C++ for C+ Win32 API programming. I was just wondering what compiler you used.

Well I guess just by your code you know more than me (cursor and popup stuff).

Offline JincS

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 191
  • Rating: +0/-0
    • View Profile
Win32 API Programming
« Reply #8 on: February 11, 2007, 04:55:00 pm »
I can teach you everything you need to know about Win32 API programming: controls, resources, etc. Me = Former Dev C++ user, now using Code::Blocks (made by the same guy, just a much better C++ IDE. www.codeblocks.com). 4+ years C/C++.

Sad thing is, I'm not on Omnimaga much, so if you really want some help, email me:

j i n c s i n c a t g m a i l . c o m