Search:
Type: Posts; User: wbartley
Search:
Search took 0.08 seconds.
-
November 24th, 2005, 11:54 AM
QueueUserAPC returns 0 and the documentation claims that GetLastError doesn't return anything for this call. Kind of a bummer, huh?
-
November 23rd, 2005, 09:51 PM
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...
-
August 31st, 2005, 07:14 PM
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...
-
September 7th, 2004, 04:38 PM
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.
-
September 7th, 2004, 03:21 PM
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.
-
August 26th, 2004, 02:32 PM
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...
-
August 3rd, 2004, 01:03 PM
Never mind. Replace operates on the CString. It doesn't return the substituted string. I was assigning the int return value to a CString.
-
August 3rd, 2004, 12:46 PM
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.
-
August 3rd, 2004, 12:37 PM
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...
-
July 14th, 2004, 05:53 PM
I have no OK button (I deleted it when I created the dialog) and I can't find any OnOK method.
-
July 14th, 2004, 05:31 PM
How do I get this to stop?
-
Without removing it from the list.
-
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...
-
Is there any way to hide an item of CListCtrl?
-
June 12th, 2004, 03:11 AM
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...
-
June 12th, 2004, 02:59 AM
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 =...
-
June 12th, 2004, 02:50 AM
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:
...
-
June 11th, 2004, 07:27 PM
Thanks SO much! How ever did you find this out? I've been searching the web like mad.
-
June 11th, 2004, 05:06 PM
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...
-
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...
-
When? I've been doing it for a living for 22 years.
-
Thanks for trying to help you guys. It shouldn't be this complicated. I'm about ready to give up programming.
-
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...
-
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...
-
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.
|
Click Here to Expand Forum to Full Width
|