Type: Posts; User: _Superman_
Search took 0.02 seconds.
November 5th, 2010, 03:09 PM
This article should help you - http://www.codeproject.com/KB/combobox/colorpicker.aspx
August 31st, 2010, 09:22 PM
CString maintains an internal count.
Normally the CString constructor or operators like =, += or functions like Format, Insert, Replace etc. are used to modify the CString object. All these...
August 27th, 2010, 09:02 AM
You got to figure out some magic to delete unused brushes.
August 25th, 2010, 11:55 PM
You have to handle this as part of the WM_CTLCOLORSTATIC message.
In the WM_COMMAND handler set a flag and invalidate the control.
In the WM_CTLCOLORSTATIC handler check the flag and return the...
July 10th, 2010, 11:18 PM
A reference to a pointer can only be used if you're passing a pointer.
s is where the actual memory is allocated.
It is different from a pointer.
November 13th, 2009, 09:01 PM
The BOM is not automatically created.
You will have to write the it yourself at the begining of the file.
November 12th, 2009, 09:51 PM
You need to post more of your code.
That declaration looks fine.
November 11th, 2009, 02:37 PM
What is the delimiter for the codes?
Is it a space?
If so you can use the find and substr methods to extract each code from the input string and then use compare to search in the array.
November 11th, 2009, 02:18 PM
You can use MFC to build the UI.
You have to enumerate USB devices to identify your device.
Look at the usbview sample in the Windows Driver Kit.
Finally you need excel automation to output to...
November 11th, 2009, 02:15 PM
It is possible, even though your question is not very clear.
The STL library is a template library and only consists of header files.
STL contains template classes and well as global template...
November 11th, 2009, 02:12 PM
I think you need to change the logic and use string::compare method to search for the string in the string array rather than search character by character.
November 1st, 2009, 02:37 PM
October 28th, 2009, 10:23 PM
That is what happens when you run it from the IDE.
How do you want the program to wait for?
If you put getchar() before the return, it will wait till you press ENTER.
If you pet _getch() before...
October 20th, 2009, 02:01 PM
You can get the screen resolution using the function GetDeviceCaps with HORZRES and VERTRES
October 20th, 2009, 01:57 PM
PreOrder and PostOrder and InOrder for that matter are used for traversing a tree and not while building it.
How exactly do you want to arrange it when you mean PreOrder and PostOrder insertions?...
October 17th, 2009, 01:24 AM
Yes there is. :o
Try and install one of these programs -
Free Ramdisk for Windows Vista, XP, 2000 and 2003 Server
How To Make a Windows XP RAM Disk Drive (for free)
October 16th, 2009, 09:25 PM
What do you mean by files in RAM?
Memory usually had data and not files.
Are you talking about a RAM drive?
If so you definitely can use those functions on it.
October 15th, 2009, 11:47 PM
What do you want to animate?
October 15th, 2009, 06:19 PM
For box 1 you can use an edit control, but for box 2 you will need a richedit control.
October 14th, 2009, 07:25 PM
In Windows, you can do this using the GlobalAlloc and VirtualAlloc APIs.
October 14th, 2009, 07:21 PM
If you're programming in Windows you can use SetConsoleCursorPosition to position the cursor before a cout.
October 14th, 2009, 07:16 PM
This should not compile.
You have not provided implementation for InterfaceA* clone() and InterfaceB* clone().
And so ConcreteC is still an abstract class and is not instantiatable.
October 14th, 2009, 07:11 PM
int in_year = atoi(ss.c_str());
October 13th, 2009, 10:56 PM
Type in the name of the .lib file in Project Properties -> Configuration Properties -> Linker -> Input -> Additional Dependencies.
Make sure the .lib file can be found in the search path.
October 12th, 2009, 02:59 PM
CString Buffer1 = _T("a little buffer");
CString Buffer2 = _T("another little buffer");
CString Buffer3 += _T("\r\n");
Buffer3 += Buffer2;
SetDlgItemText(hWnd, TXT1, Buffer3);
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.