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

Search:

Type: Posts; User: vcdebugger

Page 1 of 18 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    1,618

    Re: CProgressCtrl problem

    I am calling 2 applications using"ShellExecute" command which decode some files and generate some new files.
    Once the control is returned from those I am using these SetPos() command to update the...
  2. Replies
    7
    Views
    1,618

    Re: CProgressCtrl problem

    I have issue with the function call:



    DOF_m_fault_progress.SetPos(100);

    There is a slight delay before the progress bar updates to 100%.
    Any idea why this issue occurs.

    Before setting...
  3. Re: How to disable/grayed-out the 'X' close button in dialog?

    where should I put.. In OnCLose() function this is going to infinite loop with msg structure showing 0x00000 value -
  4. Re: How to disable/grayed-out the 'X' close button in dialog?

    Thanks for the response VictorN and Salem_C.

    In case of any further comments from the users and I may need to use at a worker thread at any cost will try to study in deep and see to resolve that...
  5. Re: How to disable/grayed-out the 'X' close button in dialog?

    To avoid that I moved my Progresscontrol and Edit box updates from worker thread to my OnTimer() function of the main dialog box but still it was crashing to some other places where CString's were...
  6. Re: How to disable/grayed-out the 'X' close button in dialog?

    Yes
  7. Re: How to disable/grayed-out the 'X' close button in dialog?

    Also that worker thread calls 2 console application s via Shellexecute which do the processing
  8. Re: How to disable/grayed-out the 'X' close button in dialog?

    sorry.. I forgot to mention that those processing is happening in a seperate worker thread... I think that is where the problem is. ANy idea how to fix it..
  9. Re: How to disable/grayed-out the 'X' close button in dialog?

    As of now I am managing to "greying" out the close button of dialog box till my processing is completed.Once everything is done/or if intermediate error happens then I am enabling the "close" button...
  10. Re: How to disable/grayed-out the 'X' close button in dialog?

    It is going smooth and after the last line ..it is popping up error message about Access violation reading location 0xfffffffc



    CDialogEx::OnClose();
  11. Re: How to disable/grayed-out the 'X' close button in dialog?

    If my code was not clean why is it closing smoothly without crashing after the processing of data is completed fully.
    But it crashes only If I try to close the dialog window during the processing of...
  12. Re: How to disable/grayed-out the 'X' close button in dialog?

    yes. I am handling it in the function onClose();

    One more peculiar observation I found was everything goes smooth if I dont close the Dialog till the end.
    it crashes only If I close it during the...
  13. Re: How to disable/grayed-out the 'X' close button in dialog?

    I have one reason for similar functionality of "greying" out the On close button, because my Modal Dialog crashes when I close it during some processing is happening in the background like " progress...
  14. Replies
    2
    Views
    15,303

    Re: Wanted: C++ Blogger

    Is there any money payed for blogging??
  15. Replies
    6
    Views
    4,671

    Re: Question marks in memory window

    Since it is a dangling pointer it is pointing to some junk memory.
  16. Re: toolbar not being loaded for dialog dll---extension dll

    check if you have an instance of the toolbar before you are creating it..

    something like this



    m_FirstToolBar = new CToolbar();
  17. Replies
    17
    Views
    1,761

    Re: ListBox control

    makes sure you are selecting one of the item in the Listbox before calling :


    m_Home.GetText(m_Home.GetCurSel(), m_Hsel);

    check if your m_Home.GetCurSel() is returning "-1" ( means none of...
  18. Replies
    3
    Views
    620

    Re: Developing a 'question-answer' program

    Pls let us know which programming language which are comfortable?
    Also try writing the program and tell us about any problem, if you have..

    Its not adviceable to ask for the full code....
  19. Replies
    5
    Views
    2,047

    Re: Setting cursor in a dialog's edit-ctrl

    try to use




    pEdit->SetFocus();



    or
  20. Replies
    16
    Views
    1,179

    Re: Socket and vector

    just a guess:

    vector<socket> sockets;
  21. Replies
    11
    Views
    3,672

    Re: Assertion Error: Invalid Null Pointer

    sorry, Cilu. I suggested that by seeing the line where it crashed.. thinking memory would not have been allocated.

    Its long time i coded in C++ and still want to be in touch with it and learn...
  22. Replies
    11
    Views
    3,672

    Re: Assertion Error: Invalid Null Pointer

    looks like you need to allocate memory for the vector array ...
    try something like this and see




    vector<int> guesses(4) = new vector<int>(4);
  23. Replies
    2
    Views
    2,457

    Re: C++ clock function

    there are some MFC classes like CDateTime and COleTime . which can be used to get times..
  24. Replies
    16
    Views
    2,558

    Re: Visual C++ power possibilities

    whats the full form of QT and GTK+ ?? Are they libraries provided by microsoft similar to MFC...
  25. Replies
    16
    Views
    2,558

    Re: Visual C++ power possibilities

    you have to use MFC classes along with pure core C++ for the graphical user interface purpose.
Results 1 to 25 of 436
Page 1 of 18 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)