Monday, November 16, 2009

VC++ Practical List - Done in Class and LAB

List of Practical For LAB


(1) TAKE TWO EDITBOX ENTER VALUE IN IT AND PRINT THE ADDITION OF THE VALUE IN THIRD EDITBOX BY CLICK ON BUTTON.

(2) WRITE A PROGRAM TO ENABLE & DISABLE EDIT BOX.

(3) WRITE A PROGRAM TO CREATE TWO EDIT BOX DYNAMICALLY & THEN SWAP THE VALUE OF EDIT BOX WHEN CLICK ON BUTTON.

(4) WRITE A PROGRAM TO SWAP THE VALUE OF STATICBOX & EDITBOX.

(5) STRING MANIPULATION ON SELECTION OF RADIO BUTTON
  - CHANGE INTO UPPER CASE
  - CHANGE INTO LOWER CASE
  - REVERSE THE STRING
  - CALCULATE CHARACTER IN STRING
  - MAKE STRING IN PROPER CASE

(6) WRITE A PROGRAM TO DEVELOP SIMPLE CALCULATOR.

(7) WRITE A PROGRAM TO SPLIT THE SENTENCE ENTER IN TEXTBOX TO LIST BOX
HINT : TEXT BOX: "THIS IS MY BOOK"
 LIST BOX:   THIS
                        IS
                        MY
                        BOOK

(8) TAKE TWO LIST BOX AND TRANSFER VALUES ONE LISTBOX TO ANOTHER LISTBOX ONE BY ONE AND ALL AT ONCE WHEN USER CLICKS TWO DIFFERENT BUTTONS RESPECTIVELY.
(Develop Same Application Using COMBOBOX Also)

(9) WRITE A PROGRAM TO IMPLEMENT SCROLLBAR AND PRINT THE POSITION OF SCROLLBAR IN NON CLIENT AREA. (TITLE BAR OF DIALOG)

(10) MAKE AN APPLICATION OF SALES DETAIL WHICH CONTAIN FOLLOWING DETAIL.
 - ITEM NAME
 - ITEM PRICE
 - QUANTITY
 - TOTAL AMOUNT.

(11) MAKE YOUR OWN FUCTION AND MAP IT WITH ANY WINDOWS OR CONTROL EVENT USING MESSAGE MAP.

(12) PRINT CURRENT CURSOR POSITION INTO EDITBOX AND ON TITLEBAR.

(13) PRINT TEXT FROM EDITBOX WHERE USER CLICK ON SCREEN.

(14) Create Dialog based Applications with multiple Dialog Box to Show functionality of ProgressBar and Slider.
Hint: 3 - DIALOGBOX,
          1-> Create and Send Message (Slider)
          2-> Show the Status of Message (Progress Bar)
          3-> Read Message

(15) DRAW LINE USING ALL MOUSE EVENTS.
    (1) BUTTONDOWN AND BUTTONUP
    (2) MOUSEMOVE

(16) Write a program to draw a circle, a polygon and a rectangle in the client area. Create your own pen and brush. Each shape should be drawn with different pen and brush.

(17) Write a program to Animate Circle OR Rectangle.
Hint: * Circle should be Moved from one Point to Another.
            * While Moving towards another Point its size AND COLOR   should be Changed.

(18) Write a program to draw a circle, a polygon and a rectangle in the client area. Shape should be selected from Menu or Toolbar.(Create New Menu and Buttons in Toolbar)

(19) Write a program to change font using font Dialog.

(20) Write a Program to Change Color of Text, Pen and Brush using Color Dialog.

1 comment:

  1. please post the code to draw a circle in vc++... program no.18

    ReplyDelete