|
HELLO,
I HAVE A PROJECT IN C++ TO VALIDATE AN XML FILE LIKE:
file.xml:
<filtrecombine nom="seuillage rouge puis binaire" nbfiltres="2">
<descriptionglobale>
"Ce filtre produit un seuillage sur le rouge et transforme ensuite l'image en binaire"
<filtre nom="seuillageRVB" nbparam="6">
<description>
"filtre de seuillage selon les couleurs RVB"
<acces type="dll">
"./seuillageRVB.dll"
<param type_visuel="regle" nom="Rmin" min="0" max="255" valeur="10" type_donnee="short unsigned int" />
"rouge min"
<param type_visuel="regle" nom="Rmax" min="0" max="255" valeur="60" type_donnee="short unsigned int" />
"rouge max"
<param type_visuel="regle" nom="Vmin" min="0" max="255" valeur="0" type_donnee="short unsigned int" />
"vert min"
<param type_visuel="regle" nom="Vmax" min="0" max="255" valeur="0" type_donnee="short unsigned int" />
"vert max"
<param type_visuel="checkbox" nom="Bmin" min="0" max="255" valeur="0" type_donnee="short unsigned int" />
"bleu min"
<param type_visuel="regle" nom="Bmax" min="0" max="255" valeur="0" type_donnee="short unsigned int" />
"bleu max"
<filtre nom="binaire" nbparam="2">
<description>
"Ce filtre transforme une image en binaire: toutes les valeurs de couleur comprises dans la fenetre sont passees a 1, les autres a 0"
<acces type="dll">
"./binaire.dll"
<param type_visuel="regle" nom="Smin" min="0" max="255" valeur="0" type_donnee="short unsigned int" />
"Seuil mini"
<param type_visuel="regle" nom="Smax" min="0" max="255" valeur="60" type_donnee="short unsigned int" />
"Seuil maxi"
and his dtd file like:
]>
can you help me?
thanks
|
|
|
|
|
you posted some taged code which is understood as html by the web page.
please edit your message and check the little "Ignore HTML tags in this message (good for code snippets)" at the end of the typing textarea...
moreover, no need to type in caps lock, and please be more descriptive about what you already tried and where you're stuck.
also, for your validation part, do you know that it already exists some XML parsers which get an XML Document and a DTD file and which validates the XML input file ?
thanks.
|
|
|
|
|
Hi, I have a MDI project with multiple doc/views.
If I have multiple doc/views open how to I select
a paticular view and bring it to the foreground?
thx
|
|
|
|
|
With SetActive (...); or with SetWindowPos (specifying the Z-Order TOP)
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
|
|
|
|
|
Hi dear.
I want to omit CEdit control BORDER style at runtime, but I don't know how to.
Please help me!
Thanks.
|
|
|
|
|
what about removing WS_BORDER style ?
|
|
|
|
|
As you know, it is possible to change the Border of one CEdit control from true to false
(in the Properties Window). So, I want to change the Border of one CEdit control to false
at run time.
Thanks.
|
|
|
|
|
Mohammad Khodaea wrote: As you know,
yes, what do you think i answered then ?
use ModifyStyle()[^] on your CEdit, and remove it the WS_BORDER style I quoted in the previous answer.
If you don't know how to remove a particuliar bit in a DWORD, read this[^] article.
|
|
|
|
|
you try this fuction:
ModifyStyle(WS_BORDER,0,SWP_DRAWFRAME);
it can remove BORDER style from the Edit
|
|
|
|
|
iam encoding some text....after getting the encoded text,then i want to convert this text into bits for modulating purpose..pls give me suggetion to encode some text into bitstream
|
|
|
|
|
if you want help, you should at least indicate the format of the text you get, and how you want it to be transformed...
|
|
|
|
|
i encoded the text "ABC" using CCITT1 encoding technique and i got the text as "#V" now i want to convert this encoded text #V into bitstream.....
|
|
|
|
|
any particuliar format you must have in your bit stream budy ?????
|
|
|
|
|
Mr.toxcct,
i want to generate each Charecter in 8bits and i want to store this genrerated bits in an array..
looking for ur help
|
|
|
|
|
a char is already 8 bits... just store it as is.
what have you tried so far by the way to achieve this ?
|
|
|
|
|
hii everyone.. i am new to vc++.i have a text box on which half the text to display is common and the other half is entered by the user.The common half of message is diplayed in the textbox using SetWindowText but the cursor is displayed at the starting position.I want the cursor to display at the end the text in the textbox. Can anybody help me out
|
|
|
|
|
overload the ON_EN_SETFOCUS event and use myedit.SetSel(theStr.GetLength(), theStr.GetLength()) for instance
|
|
|
|
|
could you be some more specific as im new to vc++ i cannot understand it.
|
|
|
|
|
If you really did not understand what toxcct said, then you must read a book before you could ask questions here.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->ßRÅhmmÃ<-·´¯`·.
|
|
|
|
|
Hi.
You have to create your own CEditEX class, (in example) derivated from CEdit. So then, you will be able to override some messages and use CEdit methods like SetSel() and so on.
Make a search about "windows subclassing" here in CP and you will find a lot of articles.
Kind regards.
Demian.
"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my telephone."
-Bjarne Stroustrup, computer science professor, designer of C++
programming language (1950- )
|
|
|
|
|
I have to think about a development involving mobil phones and security cameras.
The fact is, someone could check a security camera from his cell phone anywhere.
What I need it's just something to read, maybe someone of you had seen an article about that before.
I thought in JAVA for cell phone software client and in C++, (or C#) for server side application that receive the incomming connection from phones.
I really appreciate any suggestion.
Thank you very much.
Cheers.
Demian.
"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my telephone."
-Bjarne Stroustrup, computer science professor, designer of C++
programming language (1950- )
|
|
|
|
|
Hello all,
I am having two exe's and i am calling one exe from another exe using ShellExecute() function. My problem is i want to pass some variable values from one exe to another. How can i do this??
Thanks in advance
|
|
|
|
|
neha.agarwal27 wrote: How can i do this??
As commandline...
|
|
|
|
|
Hi.
You could use the Windows registry.
Cheers.
Demian.
"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my telephone."
-Bjarne Stroustrup, computer science professor, designer of C++
programming language (1950- )
|
|
|
|
|
Demian Panello wrote: You could use the Windows registry.
good software design should not include registry as active place for data share between two application
|
|
|
|