2024年6月5日发(作者:)

VisualC++MFCconcisecourse

MFCintroductoryremarks

VisualC++omprehensive

applicationproceduredevelopmentenvironment,youfullyuseC++

whichhasobject-orientedcharacteristictodevelopthe

rtofullyuse

thesecharacteristics,youmustunderstandtheC++programming

antgraspedC++,youmustgrasptheMicrosoft

basickindofstorehouse(MFC)vel

structurecontainedusercontactsurfaceintheWindowsAPI,and

enabledyouveryeasilytoestablishtheWindowsapplication

ndoflevelstructure

issuitabletoalleditionsWindowsandeachotheriscompatible.

YouusethecodewhichMFCestablishesaredefinitelymay

transplant.

IfyouwantestablishaWindowsapplicationprocedure,how

shouldstart?

Thegoodbeginningisfromdesignningusercontactsurface.

First,youmustdecidewhatkindofusercanusethisprocedure

andaccordingtoneedstoestablishthecorrespondingusercontact

dowsusercontactsurfacehassome

standardstocontrol,likethebutton,themenu,rollthestrip

andtabulatesandsoon,thisisbefamiliaredwithWindowsusers.

Youmustremember,asaprogrammeryoumusttchooseagroupas

theprogrammertocontrolandtodecidehowtoarrangesthemto

ionaly,youneedtomaketheschematicdiagram

oftheusercontactsurfaceonthepaper,untilyousatifiedwith

possibletosomesmallproject,aswell

assomebigprojectatearlytimeprototypestages.

Thenextstep,ranyWindows

platformestablishmentapplicationprocedure,theprogrammers

allhavetwokindofchoices:CorC++.UsesC,theprogrammer

isintheWindowsapplicationprocedurecontactsurface(API)in

ntactsurfaceiscomposedby

severalhundredCfunction,thesefunctionsreferencemanualall

ingWindows

NT,APIiscalled"Win32API",distinguishestoitusesinWindows

3.116API.

MicrosofthasalsoprovidedtheC++storehouse,itislocated

aboveanyWindowsAPI,canmakeprogrammer'sworktobeeasier.

ItistheMicrosoftbasickindofstorehouse(MFC),this

cemassive

aneouslyit

hasalsoprovidedallgeneralC++be