Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Simple API programming?

Posted on 2002-05-29
6
185 Views
Last Modified: 2010-04-02
i would like to know where can i find articles on borland c++ winapi programming. It should help me with a text box, scroll bar, canvas and some gdi things. the code should me in c++ windows api only.
0
Comment
Question by:manbirpahwa
  • 3
  • 2
6 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
ID: 7042402
There is nothing special about Borland C++ WIN32 API programming vs. any other development tool.  I think you need a good Windows programming reference.  My suggestion as to the best place for a beginner to start is the excellent book "Programming Windows" by Charles Petzold.
0
 
LVL 2

Expert Comment

by:jonnin
ID: 7042525
To add them, its drag and drop.  TO use them, the variable name is visible when that component is clicked. The have names like Edit1. Look in the help on Edit box, etc.  Members are listed, for example Edit1->LoadFromFile(...);

Its a very easy tool, but the names are nonstandard (or were, have not used the latest version) so you have to read the help.

0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7045405
Try this:
 
    http://msdn.microsoft.com/library/en-us/win32/win32start_1xyd.asp?frame=true

It is the online documentation for using the Win32 API.  You can also download the Platform SDK; it provide many example programs:

   http://www.microsoft.com/msdownload/platformsdk/sdkupdate

-- Dan
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 32

Expert Comment

by:jhance
ID: 7118255
Are you just going to ignore this question from now on?
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7119039
Who?  Me?  No.  I'll keep an eye on it... perhaps revisit it now and then for old-time's sake.  Who knows, manbirpahwa may one day return and post a comment.  That  would be a thrill beyond description.
-- Dan
0
 
LVL 32

Expert Comment

by:jhance
ID: 7119793
No, not you Dan... ;-)

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question