|
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
?
|
|
|
|
|
try using ModifyStyle. For example to change from report to small icon view call function
like this listctrl.ModifyStyle(LVS_REPORT,LVS_SMALLICON);
If u can Dream... U can do it
|
|
|
|
|
Well. This function is just needed. Thanks.
vote 5
|
|
|
|
|
yu-jian wrote: Is there another way to set the Style to LVS_REPORT
Did you check out the link I gave you? It has the information you need.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
I have seen your link. I find the class member function.
thanks.
|
|
|
|
|
Hi guys, i am new to cryptoAPI. I have used public/private keys algorithm in .NET.
But in MFC i need to do the same thing, i need to generate public and private keys and store them
in files.
In cryptoAPI all function uses the handle to keys that's why i am confused how to generate keys,
store in files, and how to use them for encryption and decryption.
some one tell me how can i achieve this...
Thanks in advance
ganesh_IT
|
|
|
|
|
|
Hi Niklas, thanks for your help. In my project i need to encrypt my client's publickey and transfer it to server.
Server decrypt it and match the client's publickey with server's publickey.
But cryptoAPI function uses handle for keys, i don't know how to write public/privatekey in files because in need to transfer keys between client and server.
Thanks in advance
ganesh_IT
|
|
|
|
|
|
Thanks for your help.
CryptoAPI is complicated to understand.
|
|
|
|
|
I try to compile an application ( SDI kind ) , to a fresh installed XP system , but I front with an link error :
LINK : fatal error LNK1104: cannot open file "libcmt.lib"
what I missing ? Can you help me , please ?
|
|
|
|