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

Search:

Type: Posts; User: wbartley

Page 1 of 2 1 2

Search: Search took 0.08 seconds.

  1. Replies
    3
    Views
    2,802

    Re: QueueUserAPC doesn't work

    QueueUserAPC returns 0 and the documentation claims that GetLastError doesn't return anything for this call. Kind of a bummer, huh?
  2. Replies
    3
    Views
    2,802

    QueueUserAPC doesn't work

    The documentation says the handle needs to have the THREAD_SET_CONTEXT access right. How do I give the thread handle this right? Do you think this is even the problem?

    I'm using Visual Studio .NET...
  3. Replies
    4
    Views
    958

    Sub-forms in a Windows Form App

    I'm new to Windows Forms but I've programmed using Visual C++ 6.0 quite a bit.

    The application I'm writing uses the same group of controls repeatedly. Kind of like a grid where each box contains...
  4. Replies
    2
    Views
    688

    Re: changing color in list control.

    There are publicly available list control sub-classes such as CXListView that already do what you want to do and more. You might want to look into that instead of reinventing the wheel.
  5. Replies
    1
    Views
    533

    Printing in Windows

    Is there a good overview of how to print from Windows applications? Printing is pretty ubiquitous. I'd hate to have to reinvent the wheel, so to speak.
  6. Replies
    1
    Views
    625

    Windows Explorer-like list view

    Is there a public domain derived class of CListCtrl that allows you to add a list of pathnames and have the list behave like the Windows Explorer?

    For example, the right click menu containing Open...
  7. Replies
    5
    Views
    1,870

    Never mind. Replace operates on the CString. It...

    Never mind. Replace operates on the CString. It doesn't return the substituted string. I was assigning the int return value to a CString.
  8. Replies
    8
    Views
    1,367

    You need to capture the return value from...

    You need to capture the return value from InsertItem. It is the new index of your item in the sorted list. Then use that index in your call to SetItemData.
  9. Replies
    5
    Views
    1,870

    CString::Replace doesnt seem to work with "

    I'm trying to replace all instances of the double quote character in a CString with to consecutive double quotes. The only thing that makes any sense to me:

    str.Replace("\"", "\"\"") produces...
  10. Replies
    5
    Views
    766

    I have no OK button (I deleted it when I created...

    I have no OK button (I deleted it when I created the dialog) and I can't find any OnOK method.
  11. Replies
    5
    Views
    766

    Dialog closes upon

    How do I get this to stop?
  12. Replies
    5
    Views
    1,802

    Without removing it from the list.

    Without removing it from the list.
  13. Replies
    2
    Views
    576

    You are reinventing the wheel. Figure out how to...

    You are reinventing the wheel. Figure out how to use an existing program like sed. You can just make a call to system() and invoke sed to do a global search and replace. You just have to install...
  14. Replies
    5
    Views
    1,802

    Hiding CListCtrl item

    Is there any way to hide an item of CListCtrl?
  15. What an unbelieveably stupid exercise. It...

    What an unbelieveably stupid exercise.

    It defies logic what is and has always been considered tuition. People leaving most institutions of higher learning know precisely nothing about anything...
  16. Replies
    4
    Views
    629

    for loops can also be used with clarity in...

    for loops can also be used with clarity in non-counting situations. Here is one particularly elegant example:

    for (char *token = strtok(str, "\t");
    token != NULL;
    token =...
  17. Thread: void*handle

    by wbartley
    Replies
    3
    Views
    495

    void * is an untyped pointer. It's kind of like...

    void * is an untyped pointer. It's kind of like having O positive blood type. You can accept donations from anyone but you can't donate to anyone accept another O positive.

    For example:
    ...
  18. Replies
    4
    Views
    1,164

    Thanks SO much! How ever did you find this out?...

    Thanks SO much! How ever did you find this out? I've been searching the web like mad.
  19. Replies
    4
    Views
    1,164

    CTreeCtrl check boxes behave strangely

    I have a CTreeCtrl in my application and I use InsertItem followed by SetCheck for each item in the list. When I show my dialog, none of the checkboxes are visually checked but they appear to be...
  20. Replies
    15
    Views
    5,133

    The problem was with the RichEdit controls in my...

    The problem was with the RichEdit controls in my dialog. Perhaps these reside in an OCX file which is not registered on my machine or doesn't even exist. I replaced them with regular old edits from...
  21. Replies
    15
    Views
    5,133

    When? I've been doing it for a living for 22...

    When? I've been doing it for a living for 22 years.
  22. Replies
    15
    Views
    5,133

    Thanks for trying to help you guys. It shouldn't...

    Thanks for trying to help you guys. It shouldn't be this complicated. I'm about ready to give up programming.
  23. Replies
    15
    Views
    5,133

    I attempted to follow the instructions in the...

    I attempted to follow the instructions in the MSDN documentation for creating a modeless dialog.

    Specifically, it suggests calling Create within the constructor of my dialog class, thereby...
  24. Replies
    15
    Views
    5,133

    After plunging to the depths of MFC I reached the...

    After plunging to the depths of MFC I reached the point of no return. A MACRO invocation CreateDialogIndirect which invokes the Win32 function CreateDialogIndirectParam is returning NULL. As you may...
  25. Replies
    15
    Views
    5,133

    I've already tried that. Doesn't do a bit of...

    I've already tried that. Doesn't do a bit of good. I get the same assertion.

    BOM_Dialog->Create(BOMDialog::IDD, NULL); or
    BOM_Dialog->Create(BOMDialog::IDD, &m_Main_Tab);

    Makes no difference.
Results 1 to 25 of 49
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured