Click here to Skip to main content
15,900,665 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: string and char? Pin
CPallini28-Dec-08 2:40
mveCPallini28-Dec-08 2:40 
QuestionSetWindowRgn For Text Or Label Pin
yytg27-Dec-08 20:23
yytg27-Dec-08 20:23 
AnswerRe: SetWindowRgn For Text Or Label Pin
Hamid_RT28-Dec-08 0:08
Hamid_RT28-Dec-08 0:08 
GeneralRe: SetWindowRgn For Text Or Label Pin
yytg28-Dec-08 2:04
yytg28-Dec-08 2:04 
AnswerRe: SetWindowRgn For Text Or Label Pin
Code-o-mat28-Dec-08 2:17
Code-o-mat28-Dec-08 2:17 
GeneralRe: SetWindowRgn For Text Or Label Pin
yytg28-Dec-08 6:53
yytg28-Dec-08 6:53 
GeneralRe: SetWindowRgn For Text Or Label Pin
Code-o-mat28-Dec-08 9:39
Code-o-mat28-Dec-08 9:39 
GeneralRe: SetWindowRgn For Text Or Label [modified] Pin
yytg29-Dec-08 3:01
yytg29-Dec-08 3:01 
I did a test in debug mode with breakpoints...(not the best way to check)
1000*1000=1,000,000 loop
It was only 5 sec.
a normal textout will not export so much as so.

Update...
	CSize sizeText;dc.GetTextExtent(str,str.GetLength(),&sizeText);
	for (int x=r.left;x<sizetext.cx;x++)>
	{
		for (int y=r.top;y<sizetext.cy;y++)>
....


modified on Monday, December 29, 2008 9:34 AM

QuestionWhy fclose is so slow and what is its internal implematation. Pin
Vishal Kumar Soni27-Dec-08 10:27
Vishal Kumar Soni27-Dec-08 10:27 
AnswerRe: Why fclose is so slow and what is its internal implematation. Pin
Richard Andrew x6427-Dec-08 11:55
professionalRichard Andrew x6427-Dec-08 11:55 
GeneralRe: Why fclose is so slow and what is its internal implematation. [modified] Pin
Vishal Kumar Soni27-Dec-08 21:12
Vishal Kumar Soni27-Dec-08 21:12 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Luc Pattyn28-Dec-08 2:16
sitebuilderLuc Pattyn28-Dec-08 2:16 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Vishal Kumar Soni28-Dec-08 5:40
Vishal Kumar Soni28-Dec-08 5:40 
AnswerRe: Why fclose is so slow and what is its internal implematation. Pin
Mark Salsbery28-Dec-08 4:59
Mark Salsbery28-Dec-08 4:59 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Vishal Kumar Soni28-Dec-08 5:56
Vishal Kumar Soni28-Dec-08 5:56 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Mark Salsbery28-Dec-08 6:26
Mark Salsbery28-Dec-08 6:26 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Vishal Kumar Soni28-Dec-08 8:10
Vishal Kumar Soni28-Dec-08 8:10 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Mark Salsbery28-Dec-08 8:16
Mark Salsbery28-Dec-08 8:16 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Vishal Kumar Soni28-Dec-08 10:04
Vishal Kumar Soni28-Dec-08 10:04 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Vishal Kumar Soni28-Dec-08 10:51
Vishal Kumar Soni28-Dec-08 10:51 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Mark Salsbery28-Dec-08 10:58
Mark Salsbery28-Dec-08 10:58 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Vishal Kumar Soni28-Dec-08 22:12
Vishal Kumar Soni28-Dec-08 22:12 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Mark Salsbery28-Dec-08 11:13
Mark Salsbery28-Dec-08 11:13 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Vishal Kumar Soni29-Dec-08 3:50
Vishal Kumar Soni29-Dec-08 3:50 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Mark Salsbery29-Dec-08 4:47
Mark Salsbery29-Dec-08 4:47 

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.