Click here to Skip to main content
15,895,370 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: how to test a compressed file in MFC? Pin
David Crow15-Dec-11 2:07
David Crow15-Dec-11 2:07 
QuestionMessure function execution time Pin
columbos1492713-Dec-11 1:40
columbos1492713-Dec-11 1:40 
AnswerRe: Messure function execution time Pin
enhzflep13-Dec-11 1:48
enhzflep13-Dec-11 1:48 
GeneralRe: Messure function execution time Pin
columbos1492713-Dec-11 2:09
columbos1492713-Dec-11 2:09 
AnswerRe: Messure function execution time Pin
Stefan_Lang13-Dec-11 2:29
Stefan_Lang13-Dec-11 2:29 
JokeRe: Messure function execution time Pin
Code-o-mat13-Dec-11 5:12
Code-o-mat13-Dec-11 5:12 
QuestionProblem with owner drawn listbox and double buffering Pin
aangerma13-Dec-11 1:26
aangerma13-Dec-11 1:26 
QuestionRe: Problem with owner drawn listbox and double buffering Pin
CPallini13-Dec-11 1:49
mveCPallini13-Dec-11 1:49 
aangerma wrote:
BitBlt(lpDrawItemStruct->hDC, 0, 0, width,height, memDC1, 0, 0, SRCCOPY);

Shouldn't this be:
C++
LONG left = lpDrawItemStruct->rcItem.left;
LONG top = lpDrawItemStruct->rcItem.top;
BitBlt(lpDrawItemStruct->hDC, left, top, width,height, memDC1, 0, 0, SRCCOPY);


?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

QuestionThread Sync Pin
columbos1492712-Dec-11 22:22
columbos1492712-Dec-11 22:22 
AnswerRe: Thread Sync Pin
Richard MacCutchan12-Dec-11 22:55
mveRichard MacCutchan12-Dec-11 22:55 
AnswerRe: Thread Sync Pin
Albert Holguin13-Dec-11 3:19
professionalAlbert Holguin13-Dec-11 3:19 
AnswerRe: Thread Sync Pin
Chuck O'Toole13-Dec-11 4:02
Chuck O'Toole13-Dec-11 4:02 
GeneralRe: Thread Sync Pin
Chris Meech13-Dec-11 7:07
Chris Meech13-Dec-11 7:07 
GeneralImage/Motion Detection Pin
joelcohen12-Dec-11 18:28
joelcohen12-Dec-11 18:28 
GeneralRe: Image/Motion Detection Pin
YvesDaoust12-Dec-11 22:29
YvesDaoust12-Dec-11 22:29 
GeneralRe: Image/Motion Detection Pin
Richard MacCutchan12-Dec-11 22:57
mveRichard MacCutchan12-Dec-11 22:57 
QuestionFlash Player Activex problem Pin
trioum12-Dec-11 16:57
trioum12-Dec-11 16:57 
AnswerRe: Flash Player Activex problem Pin
KingsGambit12-Dec-11 17:17
KingsGambit12-Dec-11 17:17 
GeneralRe: Flash Player Activex problem Pin
trioum12-Dec-11 18:36
trioum12-Dec-11 18:36 
QuestionODBC - Using Parameters to build a SQL Command Pin
jkirkerx12-Dec-11 5:26
professionaljkirkerx12-Dec-11 5:26 
AnswerRe: ODBC - Got this to work, perhaps 1 thing away Pin
jkirkerx12-Dec-11 6:39
professionaljkirkerx12-Dec-11 6:39 
GeneralRe: ODBC - Got this to work, perhaps 1 thing away Pin
jschell12-Dec-11 8:28
jschell12-Dec-11 8:28 
GeneralRe: ODBC - Got this to work, perhaps 1 thing away Pin
jkirkerx12-Dec-11 9:46
professionaljkirkerx12-Dec-11 9:46 
GeneralRe: ODBC - Got this to work, perhaps 1 thing away Pin
Bram van Kampen12-Dec-11 15:08
Bram van Kampen12-Dec-11 15:08 
GeneralRe: ODBC - Got this to work, perhaps 1 thing away Pin
jkirkerx12-Dec-11 16:06
professionaljkirkerx12-Dec-11 16:06 

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.