New MFC Interview Questions :: ALLInterview.com http://www.allinterview.com New MFC Interview Questions en-us Will there be any difference in the image buffer size if it is loade http://www.allinterview.com/showanswers/94510.html what is the difference between compiling and building? http://www.allinterview.com/showanswers/94410.html Build includes 2 things viz. Compile and then Linking. Linker tool of the tool chain uses some linker script file (.ld extension or some other) to link all the object files from your code and that from library. The compiler gives you object fil What is the difference between Struts and JSF? Pls list some most su http://www.allinterview.com/showanswers/88696.html Q1. A. What is unary operator? List out the different operators invo http://www.allinterview.com/showanswers/79316.html 1. A unary operator is one which has only one operand. e.g. post/pre increment operator. 3. A function pointer is declared as following. Rarely used int (*fp)(int); where fp is pointer to a function with an integer as argument and r Hi All, i am new for VC++ SDK. i want to get the IP Address o http://www.allinterview.com/showanswers/79009.html Hi All, I have created one MFC Dialog Based application.now if i am http://www.allinterview.com/showanswers/76249.html if(NULL != ::CreateMutex(NULL, TRUE, _T("CSingleInstanceApp"))) { long dwError = ::GetLastError(); if(dwError == ERROR_ALREADY_EXISTS) EndDialog(IDOK); } Paste the above code snippet inside the "InitInstance" func What is CALLBACK? How it work? what is the advantage of CALLBACK, pl http://www.allinterview.com/showanswers/75769.html • callback function is a function that is called through a function pointer. • pass the pointer (address) of a function as an argument to another, when that pointer is used to call the function it points to it is said that a call back is made How WM_PAINT message gets called in MFC,please explain it . a)Who cal http://www.allinterview.com/showanswers/75276.html a)The framework calls this member function b)This function get called, when Windows or an application makes a request to repaint a portion of an application's window. c) 1)why we cant create more than one instance of the class Derived from http://www.allinterview.com/showanswers/74999.html You theApp object is replace with new name; Eg CdlgtestApp theApp; CdlgtestApp theApp3; // now this is your applcation obj CdlgtestApp theApp3; CdlgtestApp theApp; // No effect 2.create for 10 batch: Employee_Number Employee_name http://www.allinterview.com/showanswers/74406.html 1.Get string1,string2,string3 1.add string1 and 2,string1 and 3. http://www.allinterview.com/showanswers/74405.html Differ GetMessage, PostMessage & PeakMessage? http://www.allinterview.com/showanswers/72480.html PostMessage is used in Threading usually. to post a message to Messaging Queue. Get message is a blocking call it waits for the message untill it recieve the message it was requiring Peak message doesnt wait for the message particually i what is message Testing ? http://www.allinterview.com/showanswers/71629.html Message testing is used mostly by advertising companies or other industries.The actual definition of MT is " Getting the feedback from customers, industry specialist or chanel partners or anyone who is related to that work". The fee How can i change the color of a dropdowncombobox elements http://www.allinterview.com/showanswers/71033.html to change color of all controls window message "WM_CTLCOLOR" needs to process in MFC this can be done by modifying OnCtlColor() eg. HBRUSH CTestDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) Why Array Index starts from Zero http://www.allinterview.com/showanswers/70478.html This boils down to the concept of Binary digits. Take an array size of 64 for example. We start from 0 and end at 63. We require 6 bits.But, if we were to start from 1 and end at 64, we would require 7 bits to store the same number, thus incr