|
pandit84 wrote: Is it possible to use XML for RTOS application developing in C++
I don't see why can you not.
It was ever thus, the Neophiles will always rush out and get 'The Latest Thing' at a high price and with all the inherent faults - Dalek Dave.
|
|
|
|
|
There are no specific APIs available for an RTX like we have IXMLDOMDocument to read the nodes.
|
|
|
|
|
in which RTOS you are working ?
If u can Dream... U can do it
|
|
|
|
|
|
I don't know anything about that, But i think you can find some free c++ xml parsers in internet. You can use it right? i just found this http://libxmlplusplus.sourceforge.net/[^]
If u can Dream... U can do it
|
|
|
|
|
I wanna implement a partially disable the slider bar? I can't find any function available in MFC.
Like example below, I only want enable selection for 0 - 100 and disable the rest. Any ideal?
-------------------------------------------------------------------------
<------Enable-------><----------Disable------------>
|-------------------|------------------------------| Slider bar
0 100 300
|
|
|
|
|
Sorry,my english is very poor.
you can use 'EnableMenuItem' function,this function enables or disables(grays) the specified menu item.
The return value specifies the previous state of the menu item (it is either MF_ENABLED or MF_GRAYED). 0xFFFFFFFF indicates that the menu item does not exist.
Thanks.
|
|
|
|
|
The EnableMenuItem is to apply for whole item...
Hum....How to make the slider bar partially appear enable and disable(gray)?
|
|
|
|
|
No partial enabling/disabling of windows is possible (APIS).
Why can't you split that scrollbar in to two and handle each ? If this is not possible in this case , you may want to do your own control/painting.
If u can Dream... U can do it
|
|
|
|
|
I don't think the default CSliderCtrl can do that.
Me think you will have to :
- create your own control (which can be fun)
- change the UI to dynamically change the range of the slider and have some sort of way to let the user know.
M.
Watched code never compiles.
|
|
|
|
|
Hum..the current solution is show text msg to tell user know now got limit control..
Thank all.
|
|
|
|
|
|
I am trying to do something like this. But it is giving error
string string1 = "abc", string2;
string::iterator it = string1.begin();
while ( it != string1.end() )
{
string2.append(*it);
it++;
}
|
|
|
|
|
i think u can just use like string2 += string1. no need of having loops for this.
BTW if u want to stick with loops u can modify it like append( 1,*it)
If u can Dream... U can do it
|
|
|
|
|
Thanks a lot for fast reply.
I need loop because I want to do some manipulation. Both ways are working fine.
I found this also
string2 += *it;
How can I miss these silly things
|
|
|
|
|
jk chan wrote: i think u
Please do not use 'txtspk' in your answers, it looks very unprofessional. Spell words in full and with correct casing: you, I, etc.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
yes boss
If u can Dream... U can do it
|
|
|
|
|
You could make a start with your signature.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
I will consider that. thanks for pointing it
If u can Dream... U can do it
|
|
|
|
|
u r ->
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
& u r ->
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
How long do you want the string to be?
|
|
|
|
|
One CListCtrl object created with LVS_REPORT style, and added Item to it.
I want to change its style to LVS_SMALLICON,
m_ListCtrlLocalFileList.SetExtendedStyle(LVS_SMALLICON);
But there is no changed in the UI. why?
modified on Wednesday, December 29, 2010 5:20 AM
|
|
|
|
|
LVS_SMALLICON is not an extended style, and so cannot be set by this call; see here[^] for how to change the non-extended window styles.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
I want to use the
LVS_ICON, LVS_SMALLICON, LVS_LIST, and LVS_REPORT
But the CListCtrl is created, only I can do is delte this CListCtrl and Create a new one with LVS_ICON, LVS_SMALLICON, LVS_LIST, or LVS_REPORT ? Is there another way to set the Style to LVS_REPORT
?
|
|
|
|