06-30-2010, 06:29 PM
Please carefully read the following instructions before attempting the assignment.
Rules for Marking
It should be clear that your assignment would not get any credit if:
The assignment is submitted after due date.
The submitted assignment does not open or file corrupt.
The assignment is copied. Note that strict action would be taken if the submitted assignment is copied from any other student. Both students will be punished severely.
1) You should concern recommended books to clarify your concepts as handouts are not sufficient.
2) You are supposed to submit your assignment in MS Word format and any other formats like scan images, PDF, Zip, rar, docx, .CPP etc will not be accepted. You supposed to use Microsoft Visual Studio 6.0 (if you want to practice personally).
3) You are advised to upload your assignment at least two days before Due date.
Important Note: Assignment comprises of two files, first file is a resource file with the name “MyResources.rc” and second file is Word document containing the questions of this assignment. Note that no assignment will be accepted after due date via email in any case (whether it is the case of load shedding or emergency electric failure or internet malfunctioning etc.). Hence, refrain from uploading assignment in the last hour of the deadline, and try to upload Solution at least 02 (two) days before the assignment to avoid inconvenience later on.
For any query please contact: CS410@vu.edu.pk
Make sure, you have carefully read the instructions given on the first page of this assignment.
Question [Marks 20]
Attached with this assignment is a resource file “MyResources.rc”. You can open this file in notepad.
Carefully read the file and complete the following exercises, also provide needful description of each exercise:
Exercise No. Question Statement [3 Marks] each Description [2 Marks] each
Exercise-1 Write down the statement that loads the icon (defined in “MyResources.rc” file) and assigns its handle to “hIcon” member of “WNDCLASS” structure
Exercise-2 Write down the statement that loads the menu (defined in “MyRexources.rc” file) and initializes “lpszMenuName” member of “WNDCLASS” structure
Exercise-3 Write down the statement to load the string from string table (defined in “MyResources.rc” file) in “strWndAppVersion” buffer (Note: this string contains the version information)
Exercise-4 Write down the statement that loads the accelerator table (defined in MyResources.rc”) and retrieves the handle of the accelerator table in “hAccelerators” variable
Rules for Marking
It should be clear that your assignment would not get any credit if:
The assignment is submitted after due date.
The submitted assignment does not open or file corrupt.
The assignment is copied. Note that strict action would be taken if the submitted assignment is copied from any other student. Both students will be punished severely.
1) You should concern recommended books to clarify your concepts as handouts are not sufficient.
2) You are supposed to submit your assignment in MS Word format and any other formats like scan images, PDF, Zip, rar, docx, .CPP etc will not be accepted. You supposed to use Microsoft Visual Studio 6.0 (if you want to practice personally).
3) You are advised to upload your assignment at least two days before Due date.
Important Note: Assignment comprises of two files, first file is a resource file with the name “MyResources.rc” and second file is Word document containing the questions of this assignment. Note that no assignment will be accepted after due date via email in any case (whether it is the case of load shedding or emergency electric failure or internet malfunctioning etc.). Hence, refrain from uploading assignment in the last hour of the deadline, and try to upload Solution at least 02 (two) days before the assignment to avoid inconvenience later on.
For any query please contact: CS410@vu.edu.pk
Make sure, you have carefully read the instructions given on the first page of this assignment.
Question [Marks 20]
Attached with this assignment is a resource file “MyResources.rc”. You can open this file in notepad.
Carefully read the file and complete the following exercises, also provide needful description of each exercise:
Exercise No. Question Statement [3 Marks] each Description [2 Marks] each
Exercise-1 Write down the statement that loads the icon (defined in “MyResources.rc” file) and assigns its handle to “hIcon” member of “WNDCLASS” structure
Exercise-2 Write down the statement that loads the menu (defined in “MyRexources.rc” file) and initializes “lpszMenuName” member of “WNDCLASS” structure
Exercise-3 Write down the statement to load the string from string table (defined in “MyResources.rc” file) in “strWndAppVersion” buffer (Note: this string contains the version information)
Exercise-4 Write down the statement that loads the accelerator table (defined in MyResources.rc”) and retrieves the handle of the accelerator table in “hAccelerators” variable
