Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
B

brucewayn

@brucewayn
About
Posts
29
Topics
22
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Sending data from vector into and array
    B brucewayn

    I stored the data in structure and placed it into a vector. However i need to upload this data through web service to the server and this happend for every 5 mins(i used a waitable timer).thus i used an array and send the data from vector to an array LogInfo *Info = new LogInfo [m_vectStruct.size()]; for (int j = 0; j < m_vectStruct.size(); ++j) { ThreatInfo[j] = m_vectStruct.at(j); } However the data is going beyong 800MB and becoz of this the network is getting blocked. Thus please let me know how can i send the data from vector to an array even if the size of the data is more than 3GB??? I Even Used the below code but of no use. copy ( m_vectStruct.begin(), m_vectStruct.end() , &Info ); Please help its bit urgent... Thanks in Advance

    C / C++ / MFC sysadmin question graphics data-structures help

  • changing the color of my controls to white using OnCtlColor
    B brucewayn

    I want my dialog backgroung color to be grey thus i'm using OnCtlColor event but the problem is that the controls like combo box or edit control are also geting colored with grey. Please tell me how can i change the color of my controls to white???? i used the below code where CBrush m_Brush; HBRUSH CCTLColorDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) { HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); pDC->SetBkColor(RGB(210,209,213)); //if(pWnd->GetDlgCtrlID() == IDC_COMBO1) //{ pDC->SetBkColor(RGB(0,0,0)); //} //if(pWnd->GetDlgCtrlID() == IDC_EDIT1) //{ pDC->SetBkColor(RGB(0,0,0)); //} return m_Brush; } BOOL CCTLColorDlg::OnInitDialog() { CDialog::OnInitDialog(); // TODO: Add extra initialization here m_Brush.CreateSolidBrush(RGB(210,209,213)); return TRUE; // return TRUE unless you set the focus to a control }

    C / C++ / MFC question help

  • changing the mouse cursor when moved
    B brucewayn

    I want to change the cursor of my mouse when ever i point it on a button or on a static text. Please let me know can that be done??? Thanks in Advance

    C / C++ / MFC question

  • MultiClient Server
    B brucewayn

    Hi everyone Can you give give me a good tutorial about MultiClient-Server programming,maybe codeproject has articles about make it or using google we can find a lot info about it but I want to some good tutorials and ofcourse about programming in MFC? Thanks

    C / C++ / MFC

  • Device Driver
    B brucewayn

    Thanks for the info. Can u suggest any tutorials which gives the basic idea of Device Driver Programing... Thanks

    C / C++ / MFC question c++ tutorial

  • Device Driver
    B brucewayn

    Hi everyone Can you give give me a good tutorial about device driver programming,maybe codeproject has articles about make it or using google we can find a lot info about it but I want to start of first,what is device driver and then start to writing code in MFC? Thanks

    C / C++ / MFC question c++ tutorial

  • Retriving Data from Map
    B brucewayn

    I want to retrive the data from the end in a map. Generally for retriving we write below code for getting data from begining. so please suggest how can we get the data from the end in a map??? map<int,cstring>::iterator itera; for(itera = m_mapFinalSortVirusData.begin();itera != m_mapFinalSortVirusData.end();itera++) { int nCount= itera->;first; CString strvirname = itera->;second; CString str = ""; str.Format("%d %s",nCount,strvirname); AfxMessageBox(str); }

    C / C++ / MFC question

  • Sorting algorithm
    B brucewayn

    I have 20 names and there makes stored in a map. My requirement is to get hghest marks of top 10 studens. please let me know the sorting algorithim to find that out. Thanks in Advance

    C / C++ / MFC algorithms

  • Passing a string
    B brucewayn

    I have string data for a dialog. However when i click on the a button i want this string data to be displayed on the second dialog. Please let me know how to achieve this... Thanks in advance

    C / C++ / MFC tutorial

  • saving list control data in a string
    B brucewayn

    Thank you for the code. Though it wasn't working I got an idea and completed the required one. But if i want to save the data of the 3rd column in a string of about more than one selected rows with "|" as separator. Please let me know how can this achieved. Thanks in advance

    C / C++ / MFC

  • saving list control data in a string
    B brucewayn

    I'm working on a list control application. When i double click on a row, i want to save the data in the 3rd column of that selected row to be store in a string. Please tel me know how can this be achieved. Thanks in Advance

    C / C++ / MFC

  • Deleting data from XML
    B brucewayn

    I'm working on an application where i have a requirement to delete the XML data which is between certain dates. However i was able to get the data within those particular dates given by the user but i have no idea how to delete them. Please let me know if there is any function ??? I even used removechild function but the application is getting crashed.

    C / C++ / MFC xml tutorial question

  • Displaying The time Zone
    B brucewayn

    For now i think that can be enough. Can you give me any sample code using that function.

    C / C++ / MFC tutorial question

  • Displaying The time Zone
    B brucewayn

    I wanted to display the time zone set by the system on a dialog in static text. For example : The time zone in India is (GMT+05:30) Chennai, Kolkata, Mumbai , NewDelhi. Now if I change it to some other like (GMT+09:00)Osaka, Sapporo, Tokoyo. Then I want this statement to be appeared after refersh. Please let me know how can it be possible??? Thanks in Advance

    C / C++ / MFC tutorial question

  • String Comparing
    B brucewayn

    Normal string comparison can be done however if the values of the strings are changed to str = "2009/12/3|19:04:43" & str1 = "2009/12/3|9:05:23" Then It shows that str1 is greater than str though STRING str is the latest one. Thus i want to have other way where we can compare them by date and time.

    C / C++ / MFC xml

  • String Comparing
    B brucewayn

    No we are not supposed to change the format. I will be happy if you could provide me the sample code for parsing the date & time from the string and do the comparision. Thanks in advance

    C / C++ / MFC xml

  • String Comparing
    B brucewayn

    I am working for an application where i am supposed to display the latest data on a list box from a XML. I got the datetime node from the XML and saved it into a string. which is the format of str = "2009/12/3|19:04:43" & str1 = "2009/12/3|19:05:23" My only concern is how is it possible to compare these two strings by date & time and display the one which is latest. Please let me know the simplest way to compare them. Thanks in Advance

    C / C++ / MFC xml

  • displying of latest data from an XML on the list control. [modified]
    B brucewayn

    I have a task where I am supposed to display the data(Clientname, id , year, license) on a list control from an XML file however when a new data is appended to the XML file with the same Clientname. I want the latest (i.e. recently appended data)should display. Please let me know which function is required to perform this??? Thanks in advance.

    modified on Wednesday, February 4, 2009 3:00 AM

    C / C++ / MFC xml question

  • Appending of XML
    B brucewayn

    How to merge two XML files in one XML file??? Thanks in Advance

    C / C++ / MFC xml tutorial question

  • Set the Font of Tree Control
    B brucewayn

    Please let me how to change the font of parent node and also how to make it BOLD in tree control. Thanks in Advance

    C / C++ / MFC data-structures tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups