Search:
Type: Posts; User: BobClarke
Search:
Search took 4.61 seconds.
-
January 25th, 2009, 12:45 AM
See http://cboard.cprogramming.com/archive/index.php/t-86368.html. Someone else had a similar problem.
-
January 25th, 2009, 12:34 AM
The thread needing the pointer should have a method that accepts the pointer as a parameter so the originating can pass it.
Also, do not pass a local pointer variable to the thread, as shown in...
-
April 10th, 2008, 06:40 PM
Problem resolved.
The solution was to use style WS_POPUP on the listbox instead of WS_CHILD, attach a dummy menu to the listbox, use screen coordinates instead of client coordinates for displaying...
-
April 10th, 2008, 12:03 PM
>> "...MS doesn't really develop MFC any further."
This is not accurate. MFC is being revised to support the new Office ribbon bar, for example.
-
April 9th, 2008, 09:41 PM
"Column names over 64 characters will produce an error."
http://support.microsoft.com/kb/178717
-
April 9th, 2008, 09:35 PM
Try this to get started:
http://msdn2.microsoft.com/en-us/library/323b6b3k(VS.80).aspx
You may need to compare definitions in header files between the two compiler versions to get the details...
-
April 9th, 2008, 09:25 PM
Add public methods to your dialog for getting the data you want, then pass that data to the other class.
if(myDialog.DoModal() == IDOK)
{
std::string sSomeData = myDialog.GetSomeData();
...
-
April 9th, 2008, 09:19 PM
std::string s("C:\\Documents and Settings\\");
s += user;
s += "\\Local Settings\\Temp\\WSF141.tmp";
DeleteFile(s.c_str());
-
April 9th, 2008, 06:50 PM
I have a dialog with two rich edit controls side by side, and a standard edit control a little beneath the two rich edit controls. When the user begins typing in a rich edit control, it causes a...
-
April 9th, 2005, 04:09 AM
To theSkulls:
You replied to something that was posted almost five years ago. I doubt he is still waiting for an answer.
-
To compile from the command line, your environment needs settings for LIB and INCLUDE so that the compiler knows where to find headers and library files.
Something like this:
...
-
June 30th, 2004, 03:00 PM
Go to Project/Settings and select the Link tab.
On the Link tab, select category Input.
In the Ignore Libraries field, enter libc for your release build and libcd for your debug build.
You...
-
June 30th, 2004, 02:17 PM
Put the variable in a header file, and #include the header file in stdafx.h.
-
June 30th, 2004, 02:15 PM
NMake should be in your \Program Files\Microsoft Visual Studio\VC98\Bin directory, along with about 30 other files. If it is not there, consider reinstalling VS. Make sure the directory is in your...
-
June 30th, 2004, 02:05 PM
This can usually be fixed by playing with the order of #includes in stdafx.h. You may have to spend some time looking at various header chains to see where the conflict is coming from.
-
June 30th, 2004, 01:59 PM
See http://www.gzip.org/zlib/ and http://www.codeproject.com/cpp/zip.asp.
-
June 30th, 2004, 01:54 PM
If this is VS6, go to File View, highlight the CPP file and press the delete key. Do the same for the H file. Use Windows Explorer or similar tool to delete the files from your source directory.
-
April 16th, 2004, 04:49 PM
If you put the continued string up against the left margin, you won't have any large blank gaps
Example:
string longString = "This could be a very long string that \
is continued onto the...
-
April 16th, 2004, 03:35 PM
Use SetCurrentDirectory() for whatever directory you want.
If you want to know where the user thinks My Documents is, use this:
char loc[MAX_PATH];
HANDLE accessToken;...
-
January 22nd, 2004, 11:31 AM
No, it cannot, unless you do some fancy message rerouting. Windows sends the draw command to the list control, not to the owner of the list control, and it is sent for every item in every row of the...
-
December 23rd, 2003, 06:37 PM
Move the #includes so they come before "#include <atlbase.h>"
-
December 18th, 2003, 04:13 PM
The Microsoft Office Visual Basic Reference (VBAOUTL9.CHM) was enough for a project I did that read contact info from public folders on our Exchange server. I used Class Wizard in VC6 to generate...
-
December 15th, 2003, 10:11 AM
I am assuming that this line:
pCtrl ->m_hWnd = hwnd ;
is setting m_hWnd to the window handle of the list control from the other program. Have you verified the hande with Spy++?
-
December 15th, 2003, 10:07 AM
MSDN says this, which I do not see in your code:
-
December 13th, 2003, 06:02 PM
I'm no expert in Office development, but I have never had document creation go quickly.
For example, in the program I'm now writing, I generate four charts in Excel, then create an 8-10 page Word...
|
Click Here to Expand Forum to Full Width
|