Click here to Skip to main content
15,915,160 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questioncdrom sector reading , writing using Deviceiocontrol Pin
Hemachandran pozhichalur15-Dec-05 16:38
Hemachandran pozhichalur15-Dec-05 16:38 
AnswerRe: cdrom sector reading , writing using Deviceiocontrol Pin
kakan15-Dec-05 19:41
professionalkakan15-Dec-05 19:41 
Questionwindows hook Pin
binZhao15-Dec-05 15:15
binZhao15-Dec-05 15:15 
QuestionComboboxex Editbox limit Pin
ClickHeRe15-Dec-05 14:57
ClickHeRe15-Dec-05 14:57 
AnswerRe: Comboboxex Editbox limit Pin
David Crow15-Dec-05 15:58
David Crow15-Dec-05 15:58 
AnswerRe: Comboboxex Editbox limit Pin
Aamir Butt15-Dec-05 18:52
Aamir Butt15-Dec-05 18:52 
GeneralRe: Comboboxex Editbox limit Pin
ClickHeRe15-Dec-05 23:42
ClickHeRe15-Dec-05 23:42 
GeneralRe: Comboboxex Editbox limit Pin
David Crow16-Dec-05 3:17
David Crow16-Dec-05 3:17 
ClickHeRe wrote:
SetWindowLong( hwndcombo, GWL_STYLE, GetWindowLong( hwndcombo, GWL_STYLE ) | CBS_AUTOHSCROLL );


Why not set this style at design time? Many styles cannot be changed at run time.

ClickHeRe wrote:
Edit_LimitText( this->m_EditHwnd, 0 );


Why are you sending a message to the edit control? You should be using CComboBox::LimitText() instead?

ClickHeRe wrote:
I still hear the little ding sound when I get to the end of the editbox notifying I can't put more there even if the AutoHScroll style is there and the limit is way beyond the actual control limit.


The CB_LIMITTEXT message limits only 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.


"Take only what you need and leave the land as you found it." - Native American Proverb


GeneralRe: Comboboxex Editbox limit Pin
ClickHeRe16-Dec-05 9:44
ClickHeRe16-Dec-05 9:44 
QuestionAbout CAnimateCtrl Pin
Member 185845015-Dec-05 14:12
Member 185845015-Dec-05 14:12 
QuestionDebugging DLL loaded with LoadLibrary Pin
crewchill15-Dec-05 13:55
crewchill15-Dec-05 13:55 
AnswerRe: Debugging DLL loaded with LoadLibrary Pin
Neville Franks15-Dec-05 15:22
Neville Franks15-Dec-05 15:22 
GeneralRe: Debugging DLL loaded with LoadLibrary Pin
crewchill16-Dec-05 0:08
crewchill16-Dec-05 0:08 
QuestionMAPIAllocateBuffer Pin
Peter Weyzen15-Dec-05 12:27
Peter Weyzen15-Dec-05 12:27 
QuestionForms Tutorial Pin
Daniel Odom15-Dec-05 12:12
Daniel Odom15-Dec-05 12:12 
AnswerRe: Forms Tutorial Pin
Mark F.23-Dec-05 10:05
Mark F.23-Dec-05 10:05 
QuestionComipling using the cl command Pin
Soaring Eagle15-Dec-05 11:54
Soaring Eagle15-Dec-05 11:54 
AnswerRe: Comipling using the cl command Pin
PJ Arends15-Dec-05 14:12
professionalPJ Arends15-Dec-05 14:12 
AnswerRe: Comipling using the cl command Pin
TheGreatAndPowerfulOz15-Dec-05 16:19
TheGreatAndPowerfulOz15-Dec-05 16:19 
QuestionCapturing from a hidden webbrowser Pin
Rheikon15-Dec-05 9:53
Rheikon15-Dec-05 9:53 
QuestionProblem about output files Pin
knapak15-Dec-05 9:32
knapak15-Dec-05 9:32 
AnswerRe: Problem about output files Pin
Chris Losinger15-Dec-05 10:01
professionalChris Losinger15-Dec-05 10:01 
GeneralRe: Problem about output files Pin
knapak15-Dec-05 10:07
knapak15-Dec-05 10:07 
GeneralRe: Problem about output files Pin
Nish Nishant15-Dec-05 10:11
sitebuilderNish Nishant15-Dec-05 10:11 
GeneralRe: Problem about output files Pin
knapak15-Dec-05 10:51
knapak15-Dec-05 10:51 

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.