|
You want draw a 20x20 of your image and save this section to a new bmp file,right?
|
|
|
|
|
yes , i want to draw a 20x20 part of 200x200 image and save it to another CBitmap or HBITMAP object , sumthing like i want to Crop the Image/.
|
|
|
|
|
I was tring to this.
You can create a dc bitmap then load your image with this dc,now you have your image on dc next step you want to split this image so create a another dc and bitmap(20x20) you must use of BitBlt for draw on the another dc.BitBlt(this hdc is second dc that you created for split,......,this dc has your image)
Now you have a bitmap(20x20) on second dc that it has bitmap then you can attach this handle to CImage class and save to a file(bmp/jpg...)
|
|
|
|
|
hi i am new to c++ programming.can some one help me in writing to code that will read hex values from the user and convert it into corresponding binary value and display it.
Thanks for ur help and time in advance
|
|
|
|
|
feroz20 wrote: hi i am new to c++ programming.can some one help me in writing to code that will read hex values from the user and convert it into corresponding binary value and display it.
Have you tried something.. many programmer here are MEMBER of SAY NO TO HOMEWORK brigade
"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
|
|
|
|
|
|
Something like:
int nHex = 0x12345;
char szBinary[64];
memset(szBinary, '0', sizeof(szBinary));
for (int x = 0; x < 32; x++)
{
if (nHex & 1)
szBinary[x] = '1';
nHex >>= 1;
}
strrev(szBinary);
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Mine is a dialogbased application.In the dialog box i have placed a tree control and in the properties i have checked the checkboxes.Now my tree contains checkboxes also.Now i want to check the child items automatically when i check the parent window and i want to retrive the checked items.And also if i uncheck the child items the parent item should be also unchecked automatically.How can i do it.I dont want to use any images for checkboxes.
|
|
|
|
|
radhika28 wrote:
also if i uncheck the child items the parent item should be also unchecked automatically.How can i do it.I dont want to use any images for checkboxes.
you have to do that manually.. using recursive function!
<div class='ForumSig'>"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 </div>
|
|
|
|
|
Is there any TreeCtrl class that uses bitmap checkboxes and also retrives the checked items.Also if we click on the parent item the child items should also be retrived.
|
|
|
|
|
|
Thanks but i got 156 errors when i downloaded it and runned the application.
|
|
|
|
|
|
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(39) : error C2143: syntax error : missing ';' before '*'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(39) : error C2501: 'IXMLDOMDocument' : missing storage-class or type specifiers
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(39) : error C2501: 'm_pXML' : missing storage-class or type specifiers
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(51) : error C2061: syntax error : identifier 'IXMLDOMElement'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(52) : error C2061: syntax error : identifier 'IXMLDOMElement'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(54) : error C2143: syntax error : missing ';' before '*'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(54) : error C2501: 'IXMLDOMElement' : missing storage-class or type specifiers
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(54) : error C2501: 'AddNewNode' : missing storage-class or type specifiers
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(63) : error C2061: syntax error : identifier 'IXMLDOMElement'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(64) : error C2061: syntax error : identifier 'IXMLDOMElement'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(65) : error C2061: syntax error : identifier 'IXMLDOMElement'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(69) : error C2061: syntax error : identifier 'IXMLDOMElement'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltreectrl.h(44) : error C2061: syntax error : identifier 'IXMLDOMElement'
E:\DownLoads\vtree\test_float_control\vs_treectrl\vs_treectrl.cpp(178) : error C2065: 'IXMLDOMElement' : undeclared identifier
E:\DownLoads\vtree\test_float_control\vs_treectrl\vs_treectrl.cpp(178) : error C2065: 'ele' : undeclared identifier
E:\DownLoads\vtree\test_float_control\vs_treectrl\vs_treectrl.cpp(178) : error C2106: '=' : left operand must be l-value
E:\DownLoads\vtree\test_float_control\vs_treectrl\vs_treectrl.cpp(180) : error C2440: '=' : cannot convert from 'int *' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast
E:\DownLoads\vtree\test_float_control\vs_treectrl\vs_treectrl.cpp(205) : error C2059: syntax error : ')'
vs_treectrlDoc.cpp
vs_treectrlView.cpp
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(39) : error C2143: syntax error : missing ';' before '*'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(39) : error C2501: 'IXMLDOMDocument' : missing storage-class or type specifiers
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(39) : error C2501: 'm_pXML' : missing storage-class or type specifiers
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(51) : error C2061: syntax error : identifier 'IXMLDOMElement'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(52) : error C2061: syntax error : identifier 'IXMLDOMElement'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(54) : error C2143: syntax error : missing ';' before '*'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(54) : error C2501: 'IXMLDOMElement' : missing storage-class or type specifiers
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(54) : error C2501: 'AddNewNode' : missing storage-class or type specifiers
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(63) : error C2061: syntax error : identifier 'IXMLDOMElement'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(64) : error C2061: syntax error : identifier 'IXMLDOMElement'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(65) : error C2061: syntax error : identifier 'IXMLDOMElement'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(69) : error C2061: syntax error : identifier 'IXMLDOMElement'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltreectrl.h(44) : error C2061: syntax error : identifier 'IXMLDOMElement'
XMLTree.cpp
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(39) : error C2143: syntax error : missing ';' before '*'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(39) : error C2501: 'IXMLDOMDocument' : missing storage-class or type specifiers
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(39) : error C2501: 'm_pXML' : missing storage-class or type specifiers
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(51) : error C2061: syntax error : identifier 'IXMLDOMElement'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(52) : error C2061: syntax error : identifier 'IXMLDOMElement'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(54) : error C2143: syntax error : missing ';' before '*'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(54) : error C2501: 'IXMLDOMElement' : missing storage-class or type specifiers
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(54) : error C2501: 'AddNewNode' : missing storage-class or type specifiers
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(63) : error C2061: syntax error : identifier 'IXMLDOMElement'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(64) : error C2061: syntax error : identifier 'IXMLDOMElement'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(65) : error C2061: syntax error : identifier 'IXMLDOMElement'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(69) : error C2061: syntax error : identifier 'IXMLDOMElement'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(20) : error C2065: 'm_pXML' : undeclared identifier
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(42) : error C2065: 'IXMLDOMElement' : undeclared identifier
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(42) : error C2065: 'node' : undeclared identifier
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(42) : error C2059: syntax error : ')'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(56) : error C2065: 'childNode' : undeclared identifier
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(57) : error C2059: syntax error : ')'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(60) : error C2065: 'IXMLDOMNode' : undeclared identifier
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(60) : error C2065: 'firstChild' : undeclared identifier
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(60) : error C2106: '=' : left operand must be l-value
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(61) : error C2227: left of '->get_firstChild' must point to class/struct/union
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(63) : error C2059: syntax error : ')'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(63) : error C2143: syntax error : missing ';' before '{'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(71) : error C2106: '=' : left operand must be l-value
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(72) : error C2227: left of '->get_firstChild' must point to class/struct/union
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(74) : error C2059: syntax error : ')'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(74) : error C2143: syntax error : missing ';' before '{'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(85) : error C2227: left of '->hasChildNodes' must point to class/struct/union
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(102) : error C2065: 'IXMLDOMDocument' : undeclared identifier
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(102) : error C2065: 'document' : undeclared identifier
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(102) : error C2106: '=' : left operand must be l-value
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(103) : error C2065: 'IXMLDOMParseError' : undeclared identifier
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(103) : error C2065: 'parseError' : undeclared identifier
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(103) : error C2106: '=' : left operand must be l-value
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(104) : error C2065: 'element' : undeclared identifier
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(104) : error C2106: '=' : left operand must be l-value
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(114) : error C2065: 'CLSID_DOMDocument' : undeclared identifier
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(116) : error C2065: 'IID_IXMLDOMDocument' : undeclared identifier
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(122) : error C2227: left of '->put_async' must point to class/struct/union
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(126) : error C2227: left of '->load' must point to class/struct/union
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(132) : error C2227: left of '->get_documentElement' must point to class/struct/union
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(137) : error C2227: left of '->get_nodeName' must point to class/struct/union
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(146) : error C2227: left of '->get_parseError' must point to class/struct/union
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(147) : error C2227: left of '->get_errorCode' must point to class/struct/union
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(148) : error C2227: left of '->get_line' must point to class/struct/union
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(149) : error C2227: left of '->get_linepos' must point to class/struct/union
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(150) : error C2227: left of '->get_reason' must point to class/struct/union
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(173) : error C2059: syntax error : 'const'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(174) : error C2143: syntax error : missing ';' before '{'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(174) : error C2447: missing function header (old-style formal list?)
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(204) : error C2059: syntax error : 'const'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(205) : error C2143: syntax error : missing ';' before '{'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(205) : error C2447: missing function header (old-style formal list?)
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(228) : error C2059: syntax error : 'const'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(230) : error C2143: syntax error : missing ';' before '{'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(230) : error C2447: missing function header (old-style formal list?)
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(283) : error C2448: '<unknown>' : function-style initializer appears to be a function definition
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(345) : error C2227: left of '->save' must point to class/struct/union
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(348) : error C2143: syntax error : missing ';' before '*'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(348) : error C2501: 'IXMLDOMElement' : missing storage-class or type specifiers
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(349) : error C2501: 'AddNewNode' : missing storage-class or type specifiers
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(351) : error C2106: '=' : left operand must be l-value
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(352) : error C2065: 'new_node' : undeclared identifier
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(352) : error C2106: '=' : left operand must be l-value
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(355) : error C2059: syntax error : ')'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(356) : error C2227: left of '->createElement' must point to class/struct/union
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(360) : error C2227: left of '->put_text' must point to class/struct/union
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(364) : error C2106: '=' : left operand must be l-value
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(365) : error C2227: left of '->appendChild' must point to class/struct/union
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(378) : error C2106: '=' : left operand must be l-value
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(382) : error C2059: syntax error : ')'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(385) : error C2065: 'parent' : undeclared identifier
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(385) : error C2106: '=' : left operand must be l-value
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(386) : error C2065: 'old_node' : undeclared identifier
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(386) : error C2106: '=' : left operand must be l-value
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(387) : error C2227: left of '->get_parentNode' must point to class/struct/union
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(389) : error C2227: left of '->removeChild' must point to class/struct/union
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(395) : error C2275: 'CString' : illegal use of this type as an expression
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(368) : see declaration of 'CString'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(395) : error C2146: syntax error : missing ')' before identifier 'strName'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(395) : error C2182: 'AddAttribute' : illegal use of type 'void'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(395) : error C2350: 'CXMLTree::AddAttribute' is not a static member
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(395) : error C2078: too many initializers
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(395) : error C2275: 'CString' : illegal use of this type as an expression
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(368) : see declaration of 'CString'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(395) : error C2059: syntax error : ')'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(396) : error C2143: syntax error : missing ';' before '{'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(396) : error C2447: missing function header (old-style formal list?)
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(404) : error C2061: syntax error : identifier 'IXMLDOMElement'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(406) : error C2065: 'ele_new' : undeclared identifier
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(406) : error C2106: '=' : left operand must be l-value
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(407) : error C2106: '=' : left operand must be l-value
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(408) : error C2065: 'origin' : undeclared identifier
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(408) : error C2106: '=' : left operand must be l-value
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(414) : error C2065: 'strXML' : undeclared identifier
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(414) : error C2228: left of '.AllocSysString' must have class/struct/union type
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(419) : error C2227: left of '->put_async' must point to class/struct/union
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(421) : error C2227: left of '->loadXML' must point to class/struct/union
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(425) : error C2227: left of '->get_documentElement' must point to class/struct/union
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(428) : error C2227: left of '->cloneNode' must point to class/struct/union
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(431) : error C2106: '=' : left operand must be l-value
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(432) : error C2227: left of '->appendChild' must point to class/struct/union
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTree.cpp(432) : fatal error C1003: error count exceeds 100; stopping compilation
XMLTreeCtrl.cpp
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(39) : error C2143: syntax error : missing ';' before '*'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(39) : error C2501: 'IXMLDOMDocument' : missing storage-class or type specifiers
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(39) : error C2501: 'm_pXML' : missing storage-class or type specifiers
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(51) : error C2061: syntax error : identifier 'IXMLDOMElement'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(52) : error C2061: syntax error : identifier 'IXMLDOMElement'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(54) : error C2143: syntax error : missing ';' before '*'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(54) : error C2501: 'IXMLDOMElement' : missing storage-class or type specifiers
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(54) : error C2501: 'AddNewNode' : missing storage-class or type specifiers
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(63) : error C2061: syntax error : identifier 'IXMLDOMElement'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(64) : error C2061: syntax error : identifier 'IXMLDOMElement'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(65) : error C2061: syntax error : identifier 'IXMLDOMElement'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltree.h(69) : error C2061: syntax error : identifier 'IXMLDOMElement'
e:\downloads\vtree\test_float_control\vs_treectrl\xmltreectrl.h(44) : error C2061: syntax error : identifier 'IXMLDOMElement'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTreeCtrl.cpp(121) : error C2065: 'IXMLDOMElement' : undeclared identifier
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTreeCtrl.cpp(121) : error C2065: 'element' : undeclared identifier
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTreeCtrl.cpp(121) : error C2275: 'HTREEITEM' : illegal use of this type as an expression
c:\program files\microsoft visual studio\vc98\include\commctrl.h(3695) : see declaration of 'HTREEITEM'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTreeCtrl.cpp(121) : error C2146: syntax error : missing ')' before identifier 'item'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTreeCtrl.cpp(121) : error C2350: 'CXMLTreeCtrl::DisplayElementTree' is not a static member
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTreeCtrl.cpp(121) : error C2078: too many initializers
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTreeCtrl.cpp(121) : error C2275: 'HTREEITEM' : illegal use of this type as an expression
c:\program files\microsoft visual studio\vc98\include\commctrl.h(3695) : see declaration of 'HTREEITEM'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTreeCtrl.cpp(121) : error C2059: syntax error : ')'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTreeCtrl.cpp(122) : error C2143: syntax error : missing ';' before '{'
E:\DownLoads\vtree\test_float_control\vs_treectrl\XMLTreeCtrl.cpp(122) : error C2447: missing function header (old-style formal list?)
Generating Code...
Error executing cl.exe.
vs_treectrl.exe - 156 error(s), 0 warning(s)
|
|
|
|
|
I compile this example and it compiles without any error
|
|
|
|
|
Is there any another article based on my requirements.
|
|
|
|
|
I think yes see TreeCtrl section on codeproject
|
|
|
|
|
|
Could any one can provide an example for Windows service in Native VC++ code ?
|
|
|
|
|
Come on ! should wait atleast for few minutes.
I've posted reply to your last post already.
|
|
|
|
|
dvsr wrote: Could any one can provide an example for Windows service in Native VC++ code ?
search codeproject.com for service!
"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
|
|
|
|
|
This is pretty good sample code: Using Services[^]
Straight from the horse's mouth
|
|
|
|
|
i have a sessional due on vc creating a data base but i know squat about programing
all we have to do is to have three edit boxes for first second names and current date and there respective butons
we have to enter patient id and store it in a text file than vew by exporting the functions in a dll file.
can offer you nothing but thanks in advance
|
|
|
|
|
Dont get worried.
Try to learn MFC. Its not that difficult.
We Believe in Excellence
www.aqueelmirza.cjb.net
|
|
|
|
|
Wow, didn't you even think of going to class?
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|