Win32 Project:Develop a win32 Project that, when executes,displays a digital clo
ID: 3607773 • Letter: W
Question
Win32 Project:Develop a win32 Project that, when executes,displays a digital clock same to one shown in figure below. It musthave following characteristics:1) It must have the text “My Digital Clock” and yourstudent id. in title bar
2) In window frame it must show your student id and Name atleft-top position
3) Then in the center, it must display the time in 12-hours format,along with displaying Ante Meridian (AM) and Post Meridian (PM) asshown. From midnight 12:00 to noon 12:00 it must display (AM) andfrom noon 12:00 to midnight 12:00 it must display “PM”.Use win32 APIs to show the current date and time.
4) Then there will be Date displayed at the location shown infigure (Right Justified)
5) At the bottom there will be three push buttons with captions“Set Time”, “Set Date” and“Cancel” respectively.
6) Pressing the “Set Time” button must display aseparate dialog box, where you could set the time (hours, minutes,seconds and AM/PM). Note that you can use separate text boxes forHour, minute, seconds and you can use a dropdown combo box forAM/PM. Pressing the “OK” button on this dialog boxshould cause that dialog box to disappear and the time on DigitalClock to be adjusted accordingly.
7) Similarly pressing “Set Date” should also display aseparate dialog box where you could set date (year, month and day)and then pressing “OK” button on this dialog shouldadjust the date on digital clock accordingly.
8) Pressing the “Cancel” button should cause thedigital clock application to exit, but first it should confirm fromthe use with message “Are You Sure to exit”. Pressingthe “Yes” button on message box should cause theapplication to exit and pressing the “No” button shouldcause the application to sustain its running.
9) Use win32 APIs and don’t use MFC, ALT or any otherlibrary.
10) You are required to upload project files (debug folder, cpp,.dsp, .dsw, .h, .ncb, opt, .plg etc) in .zip or .rar format anddon’t send only .exe files.
Explanation / Answer
x.x
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.