Click here to Skip to main content
15,906,816 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Custom shaped dialogs Pin
Atlantys19-Nov-02 3:07
Atlantys19-Nov-02 3:07 
GeneralAdding MFC to a non-MFC project Pin
Dave_18-Nov-02 10:03
Dave_18-Nov-02 10:03 
GeneralRe: Adding MFC to a non-MFC project Pin
Navin18-Nov-02 10:37
Navin18-Nov-02 10:37 
GeneralRe: Adding MFC to a non-MFC project Pin
Bill Wilson18-Nov-02 13:11
Bill Wilson18-Nov-02 13:11 
QuestionIs the field EMPTY ? Pin
Hadi Rezaee18-Nov-02 8:21
Hadi Rezaee18-Nov-02 8:21 
GeneralCListBox FindString Pin
Gary Kirkham18-Nov-02 8:17
Gary Kirkham18-Nov-02 8:17 
GeneralRe: CListBox FindString Pin
Gary Kirkham18-Nov-02 8:31
Gary Kirkham18-Nov-02 8:31 
GeneralFormatting string in Edit Box Pin
Georgi Atanasov18-Nov-02 6:49
Georgi Atanasov18-Nov-02 6:49 
Please, help me with that stupid problem...
I want to format a string and then display it in an Edit box like that:

for(int i=0; i<m_sztext.getlength();i++)
{
="" if(analyzechar(m_sztext.getat(i))="="letter")
" str="" +="m_szText.GetAt(i);
" here="" is="" the="" problem="" -="" i="" want="" to="" have="" new="" line,="" but="" string="" formatted="" like="" that="" :="" instead="" of="" line="" symbol="" written=""> |
I have tried the following formatting too: str+= "\n" and it didn't worked tooCry | :(( */
}
m_wndResult.SetWindowText(str);

I would be very grateful to any solutions of the problem!
Thanks in advance

P.S. May be the problem is in SetWindowText() ????
GeneralRe: Formatting string in Edit Box Pin
Roger Allen18-Nov-02 7:21
Roger Allen18-Nov-02 7:21 
QuestionHow do I detect removable media being inserted? Pin
Obliterator18-Nov-02 6:09
Obliterator18-Nov-02 6:09 
AnswerRe: How do I detect removable media being inserted? Pin
567890123418-Nov-02 23:00
567890123418-Nov-02 23:00 
GeneralRe: How do I detect removable media being inserted? Pin
Obliterator21-Nov-02 4:18
Obliterator21-Nov-02 4:18 
GeneralApplication Icon Pin
carpediem18-Nov-02 5:57
carpediem18-Nov-02 5:57 
GeneralRe: Application Icon Pin
KevinHall18-Nov-02 6:34
KevinHall18-Nov-02 6:34 
GeneralRe: Application Icon Pin
Shog918-Nov-02 7:49
sitebuilderShog918-Nov-02 7:49 
GeneralRe: Application Icon Pin
carpediem18-Nov-02 12:57
carpediem18-Nov-02 12:57 
GeneralRe: Application Icon Pin
Shog918-Nov-02 13:09
sitebuilderShog918-Nov-02 13:09 
GeneralRe: Application Icon Pin
Al_Pennyworth18-Nov-02 13:14
Al_Pennyworth18-Nov-02 13:14 
GeneralRe: Application Icon Pin
Shog918-Nov-02 13:23
sitebuilderShog918-Nov-02 13:23 
GeneralRe: Application Icon Pin
carpediem18-Nov-02 13:35
carpediem18-Nov-02 13:35 
GeneralRe: Application Icon Pin
Shog918-Nov-02 17:32
sitebuilderShog918-Nov-02 17:32 
GeneralRe: Application Icon Pin
carpediem19-Nov-02 7:16
carpediem19-Nov-02 7:16 
GeneralRe: Application Icon Pin
Shog919-Nov-02 7:28
sitebuilderShog919-Nov-02 7:28 
GeneralShould be an easy question.. Splitter Pin
RobJones18-Nov-02 5:45
RobJones18-Nov-02 5:45 
GeneralRe: Should be an easy question.. Splitter Pin
Georgi Atanasov18-Nov-02 6:55
Georgi Atanasov18-Nov-02 6:55 

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.