Click here to Skip to main content
15,901,666 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCListCtrl Icon custum drawing Pin
<marquee>Mourad DEBBAH<marquee>19-Sep-04 1:54
sussMourad DEBBAH19-Sep-04 1:54 
GeneralSelection State in Listcontrol Pin
Neelesh K J Jain19-Sep-04 0:55
Neelesh K J Jain19-Sep-04 0:55 
GeneralCreate a MDI app without child Frame Window on start Up Pin
ic@19-Sep-04 0:40
ic@19-Sep-04 0:40 
GeneralRe: Create a MDI app without child Frame Window on start Up Pin
ensger23-Sep-04 4:56
ensger23-Sep-04 4:56 
GeneralRe: Create a MDI app without child Frame Window on start Up Pin
Anonymous23-Sep-04 9:00
Anonymous23-Sep-04 9:00 
GeneralCRecordset::Edit() (mfc) Pin
010011011019-Sep-04 0:32
010011011019-Sep-04 0:32 
GeneralRe: CRecordset::Edit() (mfc) Pin
Manfred Staiger20-Sep-04 2:00
Manfred Staiger20-Sep-04 2:00 
QuestionHow to remove horizontal scrollar in a multiline edit control ? Pin
Member 20081719-Sep-04 0:27
Member 20081719-Sep-04 0:27 
Hi,

In my application, I've got a multiline edit control, and I would like to be able to dynamically remove/add the horizontal scrollbar. I tried by simply changing the style:

SetWindowLong(hLog, GWL_STYLE, GetWindowLong(hLog, GWL_STYLE) & ~WS_HSCROLL);

Unfortunately, the scrollbar disappears but the space it was using is still there (looks like a disabled area). I've tried to call RedrawWindow() but that doesn't work.
I would just like the edit control to looks like it was created without the horizontal scrollbar.
Any idea?
AnswerRe: How to remove horizontal scrollar in a multiline edit control ? Pin
Member 20081719-Sep-04 1:55
Member 20081719-Sep-04 1:55 
GeneralConvert CString to TCHAR Pin
RedDragon2k19-Sep-04 0:01
RedDragon2k19-Sep-04 0:01 
GeneralRe: Convert CString to TCHAR Pin
010011011019-Sep-04 0:48
010011011019-Sep-04 0:48 
GeneralRe: Convert CString to TCHAR Pin
David Crow20-Sep-04 10:47
David Crow20-Sep-04 10:47 
GeneralRe: Convert CString to TCHAR Pin
Michael Dunn19-Sep-04 5:32
sitebuilderMichael Dunn19-Sep-04 5:32 
GeneralNeed Help! Using CBitmap Object Pin
Avinash Gupta18-Sep-04 23:48
Avinash Gupta18-Sep-04 23:48 
GeneralRe: Need Help! Using CBitmap Object Pin
Sujan Christo20-Sep-04 2:12
Sujan Christo20-Sep-04 2:12 
GeneralSendMessage Question Pin
hatimad18-Sep-04 20:50
hatimad18-Sep-04 20:50 
GeneralRe: SendMessage Question Pin
Antony M Kancidrowski19-Sep-04 8:53
Antony M Kancidrowski19-Sep-04 8:53 
GeneralRe: SendMessage Question Pin
hatimad19-Sep-04 13:02
hatimad19-Sep-04 13:02 
GeneralRe: SendMessage Question Pin
Antony M Kancidrowski20-Sep-04 6:03
Antony M Kancidrowski20-Sep-04 6:03 
GeneralRe: SendMessage Question Pin
hatimad20-Sep-04 6:41
hatimad20-Sep-04 6:41 
Questionwhat is LValue error?. Pin
NewtonOfComputers18-Sep-04 20:46
NewtonOfComputers18-Sep-04 20:46 
AnswerRe: what is LValue error?. Pin
Andras Zoltan19-Sep-04 3:11
Andras Zoltan19-Sep-04 3:11 
QuestionCan I group function (method) within Struct in ANSI C? Pin
Link260018-Sep-04 19:05
Link260018-Sep-04 19:05 
AnswerRe: Can I group function (method) within Struct in ANSI C? Pin
Michael Dunn18-Sep-04 19:16
sitebuilderMichael Dunn18-Sep-04 19:16 
GeneralRe: Can I group function (method) within Struct in ANSI C? Pin
Link260018-Sep-04 19:23
Link260018-Sep-04 19:23 

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.