|
What is the maximum size of a combo box. How many entries can i have in a combo box?
|
|
|
|
|
looking at the index types, i'd say the maximum an int can store...
why are you worry about ?
|
|
|
|
|
Can i add a thousand strings into a combo box? Is there a limit to the data that can be stored in the combo box?
|
|
|
|
|
even if you're on a 16 bits environment, an int can store (2^16)/2 == 32768...
so, think of what you can store on a 64 bits system...
but hey !! you didn't answered my questions !
|
|
|
|
|
I have a database for face recognition and speaker recognition. So i wanted to know the maximum number of people i can have in the database if i display all the names in the combo box
I added 65535 string into the combo box and it works fine.. Thank you
|
|
|
|
|
hey, hear me well. i didn't say the size limit was 65536 either !
but is it that good to put all that strings in a only combobox ? wouldn't it be better to use a CListCtrl for instance ?
|
|
|
|
|
nripun wrote: I added 65535 string into the combo box...
Just who is going to have enough patience to scroll through that sea of names?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
DavidCrow wrote: Just who is going to have enough patience to scroll through that sea of names?
Not me!
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
Neither me.
|
|
|
|
|
I agreee toxcct CListBox is better than CComboBox for your program of course if you want to show data to user .
|
|
|
|
|
Using HRESULT VarR4FromI2(short sIn, float *pfltOut);
Problems getting it compliled using the header oleauto.h
Using Visual Studio 2005 (C++).
Many thanks,
Andy.
|
|
|
|
|
show how you're using it, and paste the exact error message. thanks
|
|
|
|
|
A cast is not appropriate in your context?
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.
|
|
|
|
|
Andy202 wrote: Problems getting it compliled...
Can you turn your monitor so that it faces the west?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
rotfl !!! never heard of this one
|
|
|
|
|
Dammit - I can't be drinking coffee when I'm reading through these posts!
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
I am using ShellExecute command to open a batch file but I have to capture the display when the batch file is open. Is this possible in VC++.
ShellExecute(m_hWnd,"open","Yamini.bat",NULL,NULL,SW_SHOWNORMAL);
After executing this command I have to capture the display in the screen so that I can use it later in my code
S.Yamini
|
|
|
|
|
yaminisridaran wrote: After executing this command I have to capture the display in the screen so that I can use it later in my code
you mean, using the image, of the text output ?
what exactly are you trying to do here ?
can't you just put a pause at the end of the .bat, and manually select the text to copy if that's what you're after ?
|
|
|
|
|
This is a batch file. I am opening this batch file from VC++ coding using shellexecute command. I have to capture the display in the batch file so that I can use it in my code later
S.Yamini
|
|
|
|
|
thanks for repeating exactly what i read in your question at first... but still you don't answer my post
|
|
|
|
|
Can I know what u did not understand
|
|
|
|
|
|
toxcct wrote: what exactly are you trying to do here ?
He's trying to redirect the output of a console application, much like:
C:> dir > dir.out
will take the output of the dir command and redirect it from standard out to a file instead.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
It comes in the middle of an automated process and no manual interaction is not possible
S.Yamini
|
|
|
|
|
See here.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|