Click here to Skip to main content
15,913,183 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to split input string into 4 components Pin
Stuart Dootson15-Mar-09 10:56
professionalStuart Dootson15-Mar-09 10:56 
GeneralRe: how to split input string into 4 components Pin
nyc_68015-Mar-09 13:15
nyc_68015-Mar-09 13:15 
GeneralRe: how to split input string into 4 components Pin
Stuart Dootson15-Mar-09 14:12
professionalStuart Dootson15-Mar-09 14:12 
AnswerRe: how to split input string into 4 components Pin
Joe Woodbury15-Mar-09 17:27
professionalJoe Woodbury15-Mar-09 17:27 
QuestionCDialogBar on a CDialog Pin
hatemtaleb15-Mar-09 7:04
hatemtaleb15-Mar-09 7:04 
AnswerRe: CDialogBar on a CDialog Pin
hatemtaleb15-Mar-09 10:00
hatemtaleb15-Mar-09 10:00 
Questionsimple c++ questions Pin
Mohammadj15-Mar-09 6:02
Mohammadj15-Mar-09 6:02 
AnswerRe: simple c++ questions Pin
Iain Clarke, Warrior Programmer15-Mar-09 6:22
Iain Clarke, Warrior Programmer15-Mar-09 6:22 
Try clicking on the command bit, and pressing f1 - it will search your help fils for them.

Failing that, there's always google.

1/
First google search for _tccstr led me to this sentence:
"Return a pointer to the first occurrence of a search string in a string.".
Read more, and I bet key is a TCHAR string, and you're looking for "%1" in it.

3/
dc.?
FillRect?
Look st athe surrounding code - you'll see what kind of a "thing" dc is. It will be a CDC, or class for a drawing (or is it device?) context. Look at the help for it, and you'll find a FillRect member function. From there, you can find it out for yourself.

3/
Whatever NewButtonRect is (I bet it's the size that a new button will be...) it's just been shrunk by an amount defined in that equation. Put a breakpoint earlier in the code to see the variables as the get inisitialised and changed.

This is all early stuff - and it takes time to sink in. The best way to learn is to follow the code through, and to take notes.

I wish you luck on your journey!

Iain.

Codeproject MVP for C++, I can't believe it's for my lounge posts...

QuestionRe: simple c++ questions Pin
Mohammadj15-Mar-09 7:19
Mohammadj15-Mar-09 7:19 
AnswerRe: simple c++ questions Pin
Iain Clarke, Warrior Programmer15-Mar-09 8:09
Iain Clarke, Warrior Programmer15-Mar-09 8:09 
AnswerRe: simple c++ questions Pin
CPallini15-Mar-09 8:13
mveCPallini15-Mar-09 8:13 
GeneralRe: simple c++ questions Pin
Mohammadj16-Mar-09 7:30
Mohammadj16-Mar-09 7:30 
QuestionRe: simple c++ questions Pin
CPallini16-Mar-09 8:43
mveCPallini16-Mar-09 8:43 
AnswerRe: simple c++ questions Pin
Mohammadj18-Mar-09 9:28
Mohammadj18-Mar-09 9:28 
GeneralRe: simple c++ questions Pin
CPallini18-Mar-09 13:15
mveCPallini18-Mar-09 13:15 
GeneralRe: simple c++ questions Pin
Mohammadj19-Mar-09 1:07
Mohammadj19-Mar-09 1:07 
QuestionRe: simple c++ questions Pin
CPallini19-Mar-09 3:45
mveCPallini19-Mar-09 3:45 
QuestionWeb page download without images Pin
sonu.saini.76@gmail.com15-Mar-09 4:19
sonu.saini.76@gmail.com15-Mar-09 4:19 
AnswerRe: Web page download without images Pin
Hamid_RT15-Mar-09 4:27
Hamid_RT15-Mar-09 4:27 
GeneralRe: Web page download without images Pin
sonu.saini.76@gmail.com15-Mar-09 17:35
sonu.saini.76@gmail.com15-Mar-09 17:35 
GeneralRe: Web page download without images Pin
sonu.saini.76@gmail.com1-Apr-09 22:18
sonu.saini.76@gmail.com1-Apr-09 22:18 
QuestionCan ShellExecute open a file in memory or a memory map file? Pin
SearchDream15-Mar-09 0:05
SearchDream15-Mar-09 0:05 
AnswerRe: Can ShellExecute open a file in memory or a memory map file? Pin
Stuart Dootson15-Mar-09 0:31
professionalStuart Dootson15-Mar-09 0:31 
GeneralRe: Can ShellExecute open a file in memory or a memory map file? Pin
SearchDream15-Mar-09 0:48
SearchDream15-Mar-09 0:48 
GeneralRe: Can ShellExecute open a file in memory or a memory map file? Pin
Stuart Dootson15-Mar-09 1:40
professionalStuart Dootson15-Mar-09 1:40 

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.