Please send that collection to iq@GlobalGuideline.Com along with the category and sub category information
1 :: Why Array Index starts from Zero?
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 increasing the storage size.2 :: How can server communicate with more than one client?
Server can communicate with more than one client with using threading concepts there are java threads which are allocated to every clientwhen he logs in to server,the thread handles the client.
3 :: What is command routing in VC++?
in SDI:View -> Doc -> FrameWnd -> App.
In MDI:
View->CDocument->CMDIChildWnd ->CMDIFrameWnd -> CWinApp.
4 :: How to change the Text of a CButton at Runtime?
CButton *btnsample= (CButton *)GetDlgItem(IDC_BUTTON1); //suppose IDC_BUTTON1 is the ID of CButtonbtnsample->SetWindowText(_T("Lahore"));
5 :: How to load an Icon on a CButton at Runtime?
CButton *btnsample = (CButton *)GetDlgItem(IDC_BUTTON1);btnsample->ModifyStyle(0,BS_ICON,SWP_FRAMECHANGED); //change the style of CButton
HICON hIcon = ::LoadIcon(AfxGetInstanceHandle(),MAKEINTRESOURCE(IDI_ICON)); //load an Icon assuming IDI_ICON is ID of ICON
btnsample->SetIcon(hIcon);




Webmaster Said:
Thank you.