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

C / C++ / MFC

 
GeneralRe: How to avoid this? (HTMLView and Handle leaks) Pin
Joan M20-Mar-03 22:59
professionalJoan M20-Mar-03 22:59 
GeneralRe: How to avoid this? (HTMLView and Handle leaks) Pin
Joan M21-Mar-03 4:05
professionalJoan M21-Mar-03 4:05 
AnswerRe: How to avoid this? (HTMLView and Handle leaks) Pin
Neville Franks20-Mar-03 9:34
Neville Franks20-Mar-03 9:34 
GeneralRe: How to avoid this? (HTMLView and Handle leaks) Pin
Joan M20-Mar-03 19:45
professionalJoan M20-Mar-03 19:45 
GeneralRe: How to avoid this? (HTMLView and Handle leaks) Pin
Neville Franks21-Mar-03 0:29
Neville Franks21-Mar-03 0:29 
GeneralRe: How to avoid this? (HTMLView and Handle leaks) Pin
Joan M21-Mar-03 1:15
professionalJoan M21-Mar-03 1:15 
GeneralRe: How to avoid this? (HTMLView and Handle leaks) Pin
Joan M21-Mar-03 3:56
professionalJoan M21-Mar-03 3:56 
GeneralWenn printing the fill function doesn't work Pin
willempipi20-Mar-03 7:40
willempipi20-Mar-03 7:40 
hi,

I have this problem that wenn i begin printing a drawing with Visual C++ it doesn't fill a rectangle. i just use the function:

<br />
void CRSARuitLocaties::SelectPrintRuit(CDC *dc, CRect r, FLOAT Factor, int Ruitnr)<br />
{<br />
	m_strFilter.Format("Nr = %d", Ruitnr);<br />
	Open();<br />
<br />
	int x,y;<br />
<br />
	CBrush* brush;<br />
	CBrush* oldBrush;<br />
<br />
	brush = new CBrush(RGB(255,0,0));<br />
<br />
	while(!IsEOF())<br />
	{<br />
		oldBrush = dc->SelectObject(brush);<br />
<br />
		x = r.left + (m_xmiddel / Factor);<br />
		y = r.top - (m_ymiddel / Factor);<br />
		<br />
		dc->FloodFill(x, y, RGB(0,0,0));<br />
		dc->SelectObject(oldBrush);<br />
		MoveNext();		<br />
	}<br />
<br />
	delete brush;<br />
<br />
	Close();<br />
}<br />


the locations are right, i've checked...
GeneralRe: Wenn printing the fill function doesn't work Pin
Chris Losinger20-Mar-03 8:03
professionalChris Losinger20-Mar-03 8:03 
GeneralRe: Wenn printing the fill function doesn't work Pin
willempipi20-Mar-03 8:33
willempipi20-Mar-03 8:33 
Generalserialize Pin
dudic20-Mar-03 7:13
dudic20-Mar-03 7:13 
GeneralRe: serialize Pin
Anonymous20-Mar-03 8:20
Anonymous20-Mar-03 8:20 
GeneralRe: serialize Pin
dudic20-Mar-03 8:25
dudic20-Mar-03 8:25 
Generaltrapping the enter key Pin
ns20-Mar-03 6:58
ns20-Mar-03 6:58 
GeneralRe: trapping the enter key Pin
Maximilien20-Mar-03 7:14
Maximilien20-Mar-03 7:14 
Generalokay. Thanks Pin
ns20-Mar-03 7:16
ns20-Mar-03 7:16 
Generalworks great! Pin
ns20-Mar-03 8:03
ns20-Mar-03 8:03 
GeneralFile input without whitespace Pin
georgiek5020-Mar-03 6:50
georgiek5020-Mar-03 6:50 
GeneralRe: File input without whitespace Pin
Christian Graus20-Mar-03 10:17
protectorChristian Graus20-Mar-03 10:17 
GeneralRe: File input without whitespace Pin
georgiek5020-Mar-03 12:11
georgiek5020-Mar-03 12:11 
GeneralCorrect syntax for add and move methods for worksheet object Pin
rvicta20-Mar-03 6:38
professionalrvicta20-Mar-03 6:38 
GeneralAdjusting SPDemo Pin
Spamdogg20-Mar-03 6:33
Spamdogg20-Mar-03 6:33 
Generalinstallation program for dial up networking Pin
Member 29826820-Mar-03 6:22
Member 29826820-Mar-03 6:22 
QuestionProgrammatically getting IE cipher strength? Pin
dandy7220-Mar-03 6:20
dandy7220-Mar-03 6:20 
Questionmemcpy or loop? Pin
pankajdaga20-Mar-03 6:19
pankajdaga20-Mar-03 6:19 

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.