Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: clow

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    219

    Binary Search Tree DeleteNode() problem

    Hello,

    Below is my implementation of a Binary Search Tree, but there is a bug in the DeleteNode() function. It does not set the parent's pointer to NULL as I intended. Can anyone explain why this...
  2. Re: how to convert vector to std:string ?

    Yes. Is the way I posted above the best way?
  3. Re: how to convert vector to std:string ?

    unsigned char*.

    Right now I think I figured out a way, but it might not be optimal:



    string temp;
    for(vector<unsigned char*>::iterator it = vec.begin(); it != vec.end(); it++)
    ...
  4. how to convert vector to std:string ?

    Hello I have a vector<unsigned char*> and I want to convert it to a std::string. How can I do that?
  5. how to convert vector to vector ?

    Hello,

    I have a vector<vector<unsigned char> > and I want to convert it to a vector<unsigned char*>. Can anyone provide sample code of how this is done?

    Thanks!
    Charles
  6. [RESOLVED] multiple dialogs supported in one derived CDialog class?

    Hello,

    In my class:



    class SettingsDialog : public CDialogEx


    I have:
  7. Replies
    6
    Views
    468

    Re: Radio Button help needed

    Putting UpdateData() at the beginning of the handler had mixed results. First when I click IDC_RADIO_TWO then IDC_RADIO_THREE is selected. Also, IDC_RADIO_ONE stays selected also, until I move my...
  8. Replies
    6
    Views
    468

    Re: Radio Button help needed

    So where do I call UpdateData() at exactly? I changed the code to:



    void RadioDialog::OnBnClickedRadioSelection()
    {
    if(iRadioSelection_== 0)
    {...
  9. Replies
    6
    Views
    468

    Radio Button help needed

    Hello,

    I have a group of 3 radio buttons with IDs:



    IDC_RADIO_ONE
    IDC_RADIO_TWO
    IDC_RADIO_THREE
  10. Replies
    7
    Views
    615

    Re: Lag when clicking MFC file menu

    I wish I could, but it is probably too big and too many other external apps interfacing with it via tcp/ip. Sometimes the entire view freezes too. I ran it in the debugger under release mode, and...
  11. Replies
    7
    Views
    615

    Lag when clicking MFC file menu

    Hello,

    I am developing a CFormView MFC app. When I go to click something on the menu, it takes awhile before the event happens. The project is build optimized in release mode. I have 3 additional...
  12. Replies
    4
    Views
    1,288

    Re: MFC's Coordinate System?

    Hello,

    Yeah I saw those functions, and tried MM_LOENGLISH, but when I did that, nothing appeared on the screen. How would I calculate the coordinate system transform by normal C++ code between the...
  13. Replies
    4
    Views
    1,288

    MFC's Coordinate System?

    Hello,

    I am drawing in a simple (square) MFC window. I realize that (0,0) starts in the upper left hand corner. I wanted to see how MFC handled drawing of angles, so I use this code:



    double...
  14. Replies
    0
    Views
    634

    CDC::Pie help needed

    Hello,

    I am suing CDC::Pie to draw a pie shape on the screen. The function is this:

    BOOL Pie(LPCRECT lpRect, POINT ptStart, POINT ptEnd);

    Say I just know the angle I need for the pie, how...
  15. Replies
    1
    Views
    254

    Re: CWnd issues with mouse events

    One additional note, I think my main window should have the WS_CHILD attribute also, since it is display on a CFormView dialog, but I don't think that affects my problem.
  16. Replies
    1
    Views
    254

    CWnd issues with mouse events

    Hello,

    I have a main CWnd class called CMainWnd which is created like this:



    DWORD dwStyle = WS_VISIBLE | WS_BORDER | WS_CLIPCHILDREN ;
    ...
    CWnd::Create(AfxRegisterWndClass(CS_DBLCLKS),...
Results 1 to 16 of 16


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center