UNIT - I : Fundamentals of Windows and MFC Messages – Windows programming – SDK style – Hungarian notation and windows data types – SDK programming in perspective. The benefits of C++ and MFC – MFC design philosophy – Document / View architecture – MFC class hierarchy – AFX functions. Application object – Frame window object – Message map. Drawing the lines – Curves – Ellipse – Polygons and other shapes. GDI pens – Brushes – GDI fonts – Deleting GDI objects and deselecting GDI objects. Getting input from the mouse : Client and non-client – Area mouse messages – Mouse wheel – Cursor. Getting input from the keyboard : Input focus – Keystroke messages – Virtual key codes – Character and dead key messages. (Chapters - 1, 2) UNIT - II : Resources and Controls Creating a menu – Loading and displaying a menu – Responding to menu commands – Command ranges – Updating the items in menu, Update ranges – Keyboard accelerators. Creating menus programmatically – Modifying menus programmatically – The system menu – Owner draw menus – Cascading menus – Context menus. The C button class – C list box class – C static class – The font view application – C edit class – C combo box class – C scrollbar class. Model dialog boxes – Modeless dialog boxes. (Chapters - 3, 4) UNIT - III : Document / View Architecture The in existence function revisited – Document object – View object – Frame window object – Dynamic object creation. SDI document template – Command routing. Synchronizing multiple views of a document – Mid squares application – Supporting multiple document types – Alternatives to MDI. Splitter Windows : Dynamic splitter window – Static splitter windows. Creating and initializing a toolbar – Controlling the toolbar’s visibility – Creating and initializing a status bar – Creating custom status bar panes – Status bar support in appwizard. Opening, closing and creating the files – Reading and Writing – C file derivatives – Serialization basics – Writing serializable classes. (Chapters - 5, 6) UNIT - IV : Fundamentals of Visual Basic Menu bar – Tool bar – Project explorer – Toolbox – Properties window – Form designer – Form layout – Intermediate window. Designing the user interface : Aligning the controls – Running the application – Visual development and event driven programming. Variables : Declaration – Types – Converting variable types – User defined data types – Lifetime of a variable. Constants – Arrays – Types of arrays. Procedures : Subroutines – Functions – Calling procedures. Text box controls – List box and Combo box controls – Scroll bar and slider controls – File controls. (Chapters - 7, 8) UNIT - V : Database Programming with VB Record sets – Data control – Data control properties, Methods. Visual data manager : Specifying indices with the visual data manager – Entering data with the visual data manager. Data bound list control – Data bound combo box – Data bound grid control. Mapping databases : Database object -Table def object, Query def object. Programming the active database objects – ADO object model – Establishing a connection – Executing SQL statements – Cursor types and locking mechanism – Manipulating the record set object – Simple record editing and updating. (Chapter - 9)