1 / 8

Windows programming Graphic Library

Windows programming Graphic Library. SNPL. Application program. initialization. Kernel. Exchange Message. Basic Structure Windows Programming. 1.part of initialization 2.part of exchange message for communicate with kernel. SNPL. WinMain. WndProc. WinMain and WndProc.

Télécharger la présentation

Windows programming Graphic Library

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Windows programming Graphic Library SNPL

  2. Application program initialization Kernel Exchange Message Basic Structure Windows Programming 1.part of initialization 2.part of exchange message for communicate with kernel SNPL

  3. WinMain WndProc WinMain and WndProc • Manage initial function and initial message Part of initialize kernel SNPL

  4. Using Visual c++ 1.File New 2.Project 3.Win32 Application 4.Project name 5.a typical”Hello world”application 6.finish Ok 7.Fileview 8.source files 9.example.cpp SNPL

  5. Compile and Run 1.F7 compile 2.Ctrl+F5 run SNPL

  6. WinMain MakeWindow INITIAL transferwindow Graphic Library Executive Make windows and show screen in monitor Start Program Initialize shape of graph Be transmitted from message to WndPro SNPL

  7. RECTANGLE ticxy Hvlabel plot draw Header File Draw rectangle Draw tic Draw label outside x , y axis of coordinates The value of coordinates get and then mark with a point Draw line between point and point SNPL

  8. Using Graphic Library 1.WinMain 2.#include “graph.h” 3. INITIAL() 4.set variable 5.Set function in graph.h 6.F7 compile 7.ctrl+F5 run Application program SNPL

More Related