Click here to Skip to main content
15,890,282 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSend data to remote server from CString Pin
mesajflaviu7-May-10 8:25
mesajflaviu7-May-10 8:25 
AnswerRe: Send data to remote server from CString Pin
CPallini7-May-10 8:41
mveCPallini7-May-10 8:41 
AnswerRe: Send data to remote server from CString Pin
«_Superman_»7-May-10 8:48
professional«_Superman_»7-May-10 8:48 
GeneralRe: Send data to remote server from CString Pin
mesajflaviu7-May-10 9:08
mesajflaviu7-May-10 9:08 
QuestionGet resource ID from icon index Pin
cryptoknight177-May-10 7:49
cryptoknight177-May-10 7:49 
QuestionTimeout problem in CHttpFile::SendRequest() Pin
m_code7-May-10 7:49
m_code7-May-10 7:49 
QuestionWhat device context methods are available to Crichedit Pin
ForNow7-May-10 7:10
ForNow7-May-10 7:10 
AnswerRe: What device context methods are available to Crichedit Pin
karle7-May-10 9:43
karle7-May-10 9:43 
A device context is used to render the content of the richedit to a device to intialise the width for word breaks.
use CRichEditCtrl::SetDefaultCharFormat to set the default format of the text.
It takes a CHARFORMAT2 to structure where you can set the font and the textcolor.
Remember to initialize the cbSize with the size of CHARFORMAT2 and to set the dwMask Member to flag which properties you want to set.

Use CRichEditCtrl::SetSelectionCharFormat() to format the selected text.

When set SetWordWrapMode() you should also call SetTargetDevice to set the width of a line.
Use FormatRange to render the content to a device.
GeneralRe: What device context methods are available to Crichedit Pin
ForNow7-May-10 11:21
ForNow7-May-10 11:21 
GeneralRe: What device context methods are available to Crichedit Pin
karle8-May-10 4:00
karle8-May-10 4:00 
GeneralRe: What device context methods are available to Crichedit Pin
ForNow8-May-10 15:38
ForNow8-May-10 15:38 
QuestionReceive data from server into CString Pin
mesajflaviu7-May-10 6:14
mesajflaviu7-May-10 6:14 
AnswerRe: Receive data from server into CString Pin
CPallini7-May-10 7:13
mveCPallini7-May-10 7:13 
GeneralRe: Receive data from server into CString Pin
mesajflaviu7-May-10 7:16
mesajflaviu7-May-10 7:16 
GeneralRe: Receive data from server into CString Pin
CPallini7-May-10 7:19
mveCPallini7-May-10 7:19 
GeneralRe: Receive data from server into CString Pin
mesajflaviu7-May-10 8:05
mesajflaviu7-May-10 8:05 
QuestionHow to locate the code which was "Detected memory leaks!" Pin
transoft7-May-10 3:19
transoft7-May-10 3:19 
AnswerRe: How to locate the code which was "Detected memory leaks!" Pin
Electron Shepherd7-May-10 3:30
Electron Shepherd7-May-10 3:30 
GeneralRe: How to locate the code which was "Detected memory leaks!" Pin
transoft7-May-10 4:14
transoft7-May-10 4:14 
GeneralRe: How to locate the code which was "Detected memory leaks!" Pin
Electron Shepherd7-May-10 4:16
Electron Shepherd7-May-10 4:16 
GeneralRe: How to locate the code which was "Detected memory leaks!" Pin
transoft7-May-10 4:16
transoft7-May-10 4:16 
GeneralRe: How to locate the code which was "Detected memory leaks!" Pin
Maximilien7-May-10 5:07
Maximilien7-May-10 5:07 
AnswerRe: How to locate the code which was "Detected memory leaks!" Pin
Chris Losinger7-May-10 5:02
professionalChris Losinger7-May-10 5:02 
AnswerRe: How to locate the code which was "Detected memory leaks!" Pin
Fareed Rizkalla7-May-10 8:33
Fareed Rizkalla7-May-10 8:33 
QuestionGet the ipaddress of a system which remotely logged into my system Pin
narayanagvs7-May-10 3:10
narayanagvs7-May-10 3:10 

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.