Click here to Skip to main content
15,896,154 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: reading simple excel sheet without using odbc Pin
Karismatic18-Sep-07 23:07
Karismatic18-Sep-07 23:07 
QuestionConvert char string to UTF-8 Pin
kcynic18-Sep-07 21:25
kcynic18-Sep-07 21:25 
AnswerRe: Convert char string to UTF-8 Pin
fefe.wyx18-Sep-07 23:13
fefe.wyx18-Sep-07 23:13 
GeneralRe: Convert char string to UTF-8 Pin
kcynic19-Sep-07 15:00
kcynic19-Sep-07 15:00 
AnswerRe: Convert char string to UTF-8 Pin
KarstenK18-Sep-07 23:46
mveKarstenK18-Sep-07 23:46 
QuestionCombo box Max Length Pin
danasegaranea18-Sep-07 21:02
danasegaranea18-Sep-07 21:02 
AnswerRe: Combo box Max Length Pin
nbugalia18-Sep-07 21:13
nbugalia18-Sep-07 21:13 
AnswerRe: Combo box Max Length Pin
Nelek18-Sep-07 21:13
protectorNelek18-Sep-07 21:13 
From the MSDN Help:

CComboBox::LimitText
BOOL LimitText( int nMaxChars );

Return Value

Nonzero if successful. If called for a combo box with the style CBS_DROPDOWNLIST or for a combo box without an edit control, the return value is CB_ERR.

Parameters

nMaxChars

Specifies the length (in bytes) of the text that the user can enter. If this parameter is 0, the text length is set to 65,535 bytes.

Remarks

Limits the length in bytes of the text that the user can enter into the edit control of a combo box.

If the combo box does not have the style CBS_AUTOHSCROLL, setting the text limit to be larger than the size of the edit control will have no effect.

LimitText only limits the text the user can enter. It has no effect on any text already in the edit control when the message is sent, nor does it affect the length of the text copied to the edit control when a string in the list box is selected.



Hope it helps

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

Wink | ;)

GeneralRe: Combo box Max Length Pin
danasegaranea19-Sep-07 0:03
danasegaranea19-Sep-07 0:03 
Questiondierect show Pin
amiya das18-Sep-07 20:37
amiya das18-Sep-07 20:37 
QuestionWindow questions Pin
Programm3r18-Sep-07 20:29
Programm3r18-Sep-07 20:29 
QuestionRe: Window questions Pin
Programm3r18-Sep-07 20:49
Programm3r18-Sep-07 20:49 
AnswerRe: Window questions Pin
toxcct18-Sep-07 23:43
toxcct18-Sep-07 23:43 
QuestionRe: Window questions Pin
GauranG Shah19-Sep-07 1:56
GauranG Shah19-Sep-07 1:56 
AnswerRe: Window questions [modified] Pin
toxcct19-Sep-07 2:00
toxcct19-Sep-07 2:00 
QuestionWhat simple API function can i use to read/create some Registry key ? Pin
Yanshof18-Sep-07 20:29
Yanshof18-Sep-07 20:29 
AnswerRe: What simple API function can i use to read/create some Registry key ? Pin
nbugalia18-Sep-07 20:48
nbugalia18-Sep-07 20:48 
AnswerRe: What simple API function can i use to read/create some Registry key ? Pin
Randor 18-Sep-07 20:57
professional Randor 18-Sep-07 20:57 
QuestionGrayscale color in xp Pin
nbugalia18-Sep-07 19:54
nbugalia18-Sep-07 19:54 
QuestionNavigate function of a CWebBrowser class Pin
AnayKulkarni18-Sep-07 19:47
AnayKulkarni18-Sep-07 19:47 
AnswerRe: Navigate function of a CWebBrowser class Pin
nbugalia18-Sep-07 19:58
nbugalia18-Sep-07 19:58 
GeneralRe: Navigate function of a CWebBrowser class Pin
AnayKulkarni18-Sep-07 20:06
AnayKulkarni18-Sep-07 20:06 
GeneralRe: Navigate function of a CWebBrowser class Pin
nbugalia18-Sep-07 20:11
nbugalia18-Sep-07 20:11 
GeneralRe: Navigate function of a CWebBrowser class Pin
bhogavalli suresh18-Sep-07 23:14
bhogavalli suresh18-Sep-07 23:14 
GeneralRe: Navigate function of a CWebBrowser class Pin
AnayKulkarni19-Sep-07 0:31
AnayKulkarni19-Sep-07 0:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.