Posted by : Anonymous Friday 11 January 2013


Objective

- To Draw a simple windows with client area
- Setting windows properties
- Handling Mouse Events

Software (s) Used to develop Assignment

- Dev C++ (Version 4.9 or above)

Assignment Submission Instructions

- Assignment Should be submitted in .CPP / .C format
- Any other format would be awarded as Zero Marks with no relaxation.

Assignment


Task 1:
a - Write a Program for windows with client area
b – Windows has caption as “Mouse Tester”
c – Windows has Minimize, Maximize and Close Buttons at the top right corner
d – Windows length and width would be as DEFAULT

Task 2:
a – When a Left Mouse Button is pressed in Client Area; a message box would be appearing with text as “Left Mouse Button is Pressed.”
b – When a Right Mouse Button is pressed in Client Area; a message box would be appearing with text as “Right Mouse Button is Pressed.”
c – In sub tasks a and b, the message box appeared would have following properties;
I – Caption of Message Boxes are “Mouse Press Information”
II – Message Boxes have Information Icon

Note: If you feel any difficulty in understanding the assignment, feel free to ask via e-mail 

Leave a Reply

Subscribe to Posts | Subscribe to Comments

- Copyright © virtual university of pakistan - Skyblue - Powered by Blogger - Designed by Johanes Djogan -