To paint, draw or print in a window you need a device context, DC for short. A DC is a resource that you borrow from Windows and you're supposed to return it immediately after you're done. That's where the Canvas object comes.
Added: 05/02/2000,
Hits: 297,
Rating: 0,
Votes: 0 Add To Favorites
| Add Rating
Dialog box is for a Windows program what a function call is for a C program.
Added: 05/02/2000,
Hits: 320,
Rating: 0,
Votes: 0 Add To Favorites
| Add Rating
Like a painter, you will need pens and brushes to create artwork on your canvas. When you call Canvas::Line or Canvas::Rectangle, Windows uses the currently attached pen to draw the lines and the currently attached brush to fill the insides of the shapes.
Added: 05/02/2000,
Hits: 272,
Rating: 0,
Votes: 0 Add To Favorites
| Add Rating
Before you can even begin thinking about programming in Windows, you have to be able to understand how this simple program works. Remember to compile this and other Windows programs with the STRICT compilation flag defined!
Added: 05/02/2000,
Hits: 275,
Rating: 0,
Votes: 0 Add To Favorites
| Add Rating
You might have heard or read critical opinions about OLE. Programmers mostly complain about the complex system of reference counting and the lack of support for inheritance.
Added: 05/02/2000,
Hits: 301,
Rating: 0,
Votes: 0 Add To Favorites
| Add Rating
Controls can be added to the main Window or to any dialog box in your program. Controls are best picked and positioned using a graphical resource editor. Such an editor will also let you pick names or symbolic id's for your controls. You will then use these id's to identify the controls in your program.
Added: 05/02/2000,
Hits: 260,
Rating: 0,
Votes: 0 Add To Favorites
| Add Rating