Objective: You will get hands on experience of using Ø Loops Ø ConditionalStatem
ID: 3607797 • Letter: O
Question
Objective:
You will get hands on experience of using
Ø Loops
Ø ConditionalStatements
Ø Message Boxes
Ø Dialog Boxes
Ø Event Handler
Ø ActiveX controls (Textbox and Combo box)
Ø Function calls
Instructions:
Please read the following instructions carefully beforesolving & submitting assignment:
Assignment should be in your own wordings not copiedfrom net, handouts or books.
It should be clear that your assignment will not get anycredit (zero marks) if:
o Theassignment is submitted after due date.
o Thesubmitted assignment does not open or file corrupt.
o Theassignment is copied (from other student or copy from handouts orinternet).
o Student IDis not mentioned in the assignment File or name of file is otherthan student ID.
Win32 Project:
Develop a win32 Project that, when executes, displays a digitalclock same to one shown in figure below. It must have followingcharacteristics:
1) It must have the text “MyDigital Clock” and your student id. in title bar
2) In window frame it must showyour student id and Name at left-top position
3) Then in the center, it mustdisplay the time in 12-hours format, along with displaying AnteMeridiem (AM) and Post Meridiem (PM) as shown. From midnight 12:00to noon 12:00 it must display (AM) and from noon 12:00 to midnight12:00 it must display “PM”. Use win32 APIs toshow the current date and time.
4) Then there will be Datedisplayed at the location shown in figure (Right Justified)
5) At the bottom there will bethree push buttons with captions “Set Time”, “SetDate” and “Cancel” respectively.
6) Pressing the “SetTime” button must display a separate dialog box, where youcould set the time (hours, minutes, seconds and AM/PM). Note thatyou can use separate text boxes for Hour, minute, seconds and youcan use a dropdown combo box for AM/PM. Pressing the“OK” button on this dialog box should cause that dialogbox to disappear and the time on Digital Clock to be adjustedaccordingly.
1) Pressing the“Cancel” button should cause the digital clockapplication to exit, but first it should confirm from the use withmessage “Are You Sure to exit”. Pressing the“Yes” button on message box should cause theapplication to exit and pressing the “No” button shouldcause the application to sustain its running.
2) Use win32 APIs and don’tuse MFC, ALT or any other library.
3) You are required to uploadproject files (debug folder, cpp, .dsp, .dsw, .h, .ncb, opt, .plgetc) in .zip or .rar format and don’t send only .exefiles.
Explanation / Answer
x.x
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.