Assignment No. 4 Semester: Fall 2012 CS410 – VISUAL PROGRAMMING Total Marks: 20 Due Date: January 28, 2013 Instructions Please read the following instructions carefully before submitting assignment: It should be clear that your assignment will not get any credit if: Assignment is submitted after due date. Submitted assignment does not open or file is corrupt. …
Read More »CS410
CS410 assignment no 3 solution fall 2012
#include “stdafx.h” #include “windows.h” const char my_ClassName[] = “Myclass”; LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { switch(msg) { case WM_LBUTTONDOWN: MessageBox(hwnd,”Left Mouse Button Pressed”,”Mouse Press Information”,MB_OK | MB_ICONINFORMATION); break; case WM_RBUTTONDOWN: MessageBox(hwnd,”Right Mouse Button Pressed”,”Mouse Press Information”,MB_OK | MB_ICONINFORMATION); break; case WM_CLOSE: DestroyWindow(hwnd); break; case WM_DESTROY: PostQuitMessage(0); break; default: return DefWindowProc(hwnd, msg, wParam, lParam); } return …
Read More »CS410 Assignment no 3 Fall 2012
Assignment No. 3 Semester: Fall 2012 CS410 – VISUAL PROGRAMMING Total Marks: 20 Due Date: 15 January, 2013 Instructions Please read the following instructions carefully before submitting assignment: It should be clear that your assignment will not get any credit if: Assignment is submitted after due date. Submitted assignment does not open or file is corrupt. …
Read More »CS410 Solved Quizs mega collection for final (09 January 2012)
The DialogProc function is used to ________ Create a Dialog Destroy a Dialog Hide a Dialog process messages sent to a modal or modeless dialog box To retrieve the identifier of the menu item at a specified position, we can use the GetMenuItemID or GetMenuItemInfo function Only GetMenuItemID function We have to use both GetMenuItemID and GetMenuItemInfo None …
Read More »CS410 Solved Subjective Mega Collection for Mid Term Papers
Question of 2 marks:- Can you write a class without specifying namespace? Which namespace does it belong to by default? Answer:- Yes, you can, and then the class belongs to global namespace which has no name. For commercial products, naturally, you wouldn’t want global namespace. write down complete syntax of “getDC” function? Answer:- The system retrieves a device context from …
Read More »CS410 Solved MCQs Mega Collection for Mid term Papers
___________ is used to check the predefined identifiers. Select correct option: #include #ifdef #def #elif Preprocessor directive starts with _________ symbol. Select correct option: # & * % Name of the three dimensional array is the address of __________________ Select correct option: First Row First Element First page Last Page _________ is the handle to icon associated …
Read More »CS410 Solved Quizs Mega Collection for Mid term Papers
______________ tell the operating system about the characteristics and physical layout of its windows. Select correct option: Register Class Object Class Window Class Common Class Result of _________________ of two bits is TRUE (1) if only if both are TRUE (1) Select correct option: OR (I) XOR AND (&) NOR Whenever a window is resized, system sends “WM_SIZING” …
Read More »CS410 today Solved Quizs (06 December 2012) before Mid
Question Specific memory areas where parameters are copied are ______________ Select correct option: Stacks Arrays Queues Lists Question If we pass NULL value to “GetDC” function, it retrieves the DC for the: Select correct option: Entire Screen Parent Window Client Window It does not retrieves DC Question What will be the entry point to a Windows program? Select correct option: …
Read More »cs410 Solved MCQs Mega Collection for Mid Term Papers
We can undefine already defined preprocessor directive using ► #undef ► #unifdef ► #unenddef ► None of given Identifier is not replaced if it appears ► In a comment ► With in a string ► As a part of a long identifier ► All of given Union Person { char name[30]; //30 bytes int …
Read More »CS410 Assignment 2 solution fall 2012 will upload soon
Virtual Universoty of Pakistan Upload the cs410 Assignment 2 Fall 2012. Make your Assignment of cs410 Fall 2012 befor 27th November 2012. VUAssignments.com Will upload the Assignments solution of cs410 Fall 2012 as soon as possible. you can also share your Idea through comments given below. best of Luck for second Assignment of cs410 Fall 2012 Instructions Please read the following …
Read More »