|
Its interesting I think your answer yesterday but I dont know its on edit section or button section on the codeproject
|
|
|
|
|
Hi,
is there a free powerful datagrid control for VC++?
its color could be changed, and also can add droplist in its field.
Thanks.
|
|
|
|
|
Try MFC Grid Control[^] by Chris Maunder.
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
brahmma wrote: Try MFC Grid Control[^] by Chris Maunder.
No.. thats not that powerful. try TrueDB Grid or Grid provided by Dundas Software
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
liur17 wrote:
its color could be changed, and also can add droplist in its field.
try TrueDB Grid or Grid provided by Dundas Software
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
TrueDB is a good grid control, Thanks.
|
|
|
|
|
while compiling pwlib i got this error.
'.\msvc6chk' is not recognized as an internal or external command,
operable program or batch file.
Error executing c:\winnt\system32\cmd.exe.
I have downloaded that msvc6chk.exe and i kept it in the workspace of pwlib. what else should i do to solve this.
Please help.
Thankyou.
KIRAN PINJARLA
|
|
|
|
|
kiran.pinjarla wrote: I have downloaded that msvc6chk.exe and i kept it in the workspace of pwlib. what else should i do to solve this.
Please help.
Thankyou.
try to change Project Properties.. i.e. postbuild steps
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and you
|
|
|
|
|
Thanks Alok.
What changes should i make?
KIRAN PINJARLA
|
|
|
|
|
hi friends
i need to post binary data to server using WinHTTP Technology.
i have code for this posting data using WinInet Technology.
can anyone give to me idea
|
|
|
|
|
|
This is somewhat of a difficult problem to explain, so please bare with me.
I have a class which is resposible for the allocation of an array of 4 structs. This class is a base class through which I can retrieve a pointer to the array and modify the struct members. Due to the nature of the program, I need access to all the structs ( for each instance of the class ). So, In the base class I created a static vector of structs, each time an instance of the class is created it add 4 new members to this static vector.
This is where my problem lies. Each instance needs to know exactly where in the vector it's 4 structs are located. This could be easily solved by recording the index they were inserted. But lets say I create 3 instances ( 12 structs in the vector ), then I delete the first instance. I would need to erase those 4 members from the vector which would cause the next instance to index the wrong value, and the third to be past the end.
I need some way to keep track of those 4 structs without needing to worry about instances being added or deleted. Any ideas?
|
|
|
|
|
Create a hashtable of vectors and make a pointer to your base class the key. Then, you can use 'this' to access each vector, to delete it in your destructor, or to access it otherwise.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Thanks for the idea. I guess 'this' does have it's uses after all.
|
|
|
|
|
There is a fundamental flaw in your design, as the static code must keep track of who exists and who does not, and apparently it is not designed to do that.
In the short run I would recommend using a map container (STL), that way you are not using offsets. Instead you are using a key that specifies the location, which simplifies everything considerably. Note that a map is not a hash table, but is a red & white tree (I think); not that it matters.
INTP
"Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra
|
|
|
|
|
Hi
Please help me.
#sanroop#
|
|
|
|
|
|
i am reading a file in win32 now my file data is stored in the WCHAR array buffer
now I want to put this data orderwise in the listview.
for that i need to convert WCHAR to string.
Environment .net(unicode).
the xml file is below.
<xml>
<FILElist>
<listitem type="file" order="1" >
<filename>C:\Documents and Settings\Administrator\Desktop\MediaFiles\TT.wmv</filename>
<Extension> khuntapada </Extension>
<size>494KB </size>
<duration>00:00:38</duration>
<bitrate>103kbps</bitrate>
<type>Windows Media Audio/video file</type>
<modifieddate>12/10/2005 </modifieddate>
<protected>completed/incompleted</protected>
</listitem>
<listitem type="dir" order="2">
<path>C:\Documents and Settings\Administrator\Desktop\MediaFiles </path>
</listitem>
</FILElist>
</xml>
source file
WCHAR szBuff[5000];
hFile=CreateFile ( L"c:\\Encoder_3.XML"
, GENERIC_READ | GENERIC_WRITE
, FILE_SHARE_READ
, NULL
, OPEN_EXISTING
, FILE_ATTRIBUTE_NORMAL
, NULL
);
if(hFile == INVALID_HANDLE_VALUE)
{
MessageBox(0,_T("File is not exist"),_T("Create File"),0);
}
else
{
MessageBox(0,_T("File is exist"),_T("Create File"),0);
}
bool bSucced=ReadFile(hFile,&szBuff,5000,&dwRecvLen,NULL);
szBuff[dwRecvLen] = '\0';
size_t len = wcslen(szBuff) * sizeof(WCHAR);
char* tempOutFile = new char[len];
WideCharToMultiByte(CP_ACP,0,szBuff,-1,tempOutFile,(int)len,NULL,NULL);
//std::string str1 = tempOutFile;
|
|
|
|
|
Hello to all...
Please suggest me neccessary stuff about client server programming..
I need to build an application where I have some exe file (say A.exe) on the server...
Client sent a path of a file(say B.exe) on their machine to server..
Server modifies that file(B.exe) on the cliend end...using the Exe(A.exe).
I hope request is clear..
Bye...
|
|
|
|
|
Hi,
I was looking about C++ crtification but didn't really find anything. So, I wonder if someone can help me telling about how to be a certified C++ Professional.
Thanks very much
C++Prog
|
|
|
|
|
Certification doesn't mean anything, and I've NEVER been asked if I was "certified". Get experience and demonstrate some talent.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
I've heard it suggested you may be certifiable, is that the same ? :P
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Close.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
celllllllll wrote: So, I wonder if someone can help me telling about how to be a certified C++ Professional.
Hardly[^]
|
|
|
|
|