Click here to Skip to main content
15,896,118 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Solving a repaint problem in VS2005 Pin
SimplCodr22-Oct-09 12:20
SimplCodr22-Oct-09 12:20 
GeneralRe: Solving a repaint problem in VS2005 Pin
CPallini22-Oct-09 20:38
mveCPallini22-Oct-09 20:38 
QuestionRe: Solving a repaint problem in VS2005 Pin
SimplCodr23-Oct-09 3:51
SimplCodr23-Oct-09 3:51 
AnswerRe: Solving a repaint problem in VS2005 Pin
SimplCodr22-Oct-09 11:32
SimplCodr22-Oct-09 11:32 
GeneralRe: Solving a repaint problem in VS2005 Pin
theCPkid22-Oct-09 16:57
theCPkid22-Oct-09 16:57 
AnswerRe: Solving a repaint problem in VS2005 Pin
SimplCodr23-Oct-09 4:05
SimplCodr23-Oct-09 4:05 
GeneralRe: Solving a repaint problem in VS2005 Pin
theCPkid23-Oct-09 5:07
theCPkid23-Oct-09 5:07 
GeneralRe: Solving a repaint problem in VS2005 Pin
SimplCodr23-Oct-09 5:49
SimplCodr23-Oct-09 5:49 
Basically the LButtonDblClk function is using TextOut to put "Hello World" on the screen at the cursors position. The intention is to have the output accumulate on the screen and remain on the screen when resized, minimized or covered by another window etc...

I tried recreating the bitmap each time by changing the conditional statement at the beginning of LButtonDblClk if(!= NULL)delete the bitmap and just have the bitmap created each time the problem with that is the output does not accumulate on the screen.

I will try what you have here to see if my results can improve. Again this code is working, it just paints the background black and I am having trouble figuring out why that is, I have been messing with this same project for a while, maybe I'll try generating a new one and see what happens.

I am puzzled why this is so difficult to solve, although I have not written alot of code I have been doing it for a long time and the programmer has always had to take care of refreshing the screen and keeping the output(text, graphics etc..) on there theirself, at least I have. So what does a novice have to do to get the information or at least a clue to the solution. This cannot be stumping the programming gurus here in this forum, no way.

Thanks again
Terry S.
GeneralRe: Solving a repaint problem in VS2005 Pin
CPallini23-Oct-09 5:41
mveCPallini23-Oct-09 5:41 
GeneralRe: Solving a repaint problem in VS2005 Pin
SimplCodr23-Oct-09 6:03
SimplCodr23-Oct-09 6:03 
QuestionRe: Solving a repaint problem in VS2005 Pin
SimplCodr23-Oct-09 8:21
SimplCodr23-Oct-09 8:21 
AnswerRe: Solving a repaint problem in VS2005 Pin
CPallini23-Oct-09 10:05
mveCPallini23-Oct-09 10:05 
GeneralRe: Solving a repaint problem in VS2005 Pin
SimplCodr23-Oct-09 10:29
SimplCodr23-Oct-09 10:29 
GeneralRe: Solving a repaint problem in VS2005 Pin
CPallini23-Oct-09 10:50
mveCPallini23-Oct-09 10:50 
GeneralRe: Solving a repaint problem in VS2005 Pin
theCPkid23-Oct-09 19:00
theCPkid23-Oct-09 19:00 
GeneralRe: Solving a repaint problem in VS2005 Pin
SimplCodr24-Oct-09 5:12
SimplCodr24-Oct-09 5:12 
QuestionConvert BYTE* array (unmanaged) to SAFEARRAY Pin
TalSt22-Oct-09 6:13
TalSt22-Oct-09 6:13 
QuestionRe: Convert BYTE* array (unmanaged) to SAFEARRAY Pin
CPallini22-Oct-09 8:20
mveCPallini22-Oct-09 8:20 
AnswerRe: Convert BYTE* array (unmanaged) to SAFEARRAY Pin
Randor 22-Oct-09 16:13
professional Randor 22-Oct-09 16:13 
GeneralRe: Convert BYTE* array (unmanaged) to SAFEARRAY Pin
TalSt24-Oct-09 19:50
TalSt24-Oct-09 19:50 
GeneralRe: Convert BYTE* array (unmanaged) to SAFEARRAY Pin
Randor 26-Oct-09 9:59
professional Randor 26-Oct-09 9:59 
QuestionHow to read the characters in the EditTable of SysListView32 style control ? Pin
wangningyu22-Oct-09 5:41
wangningyu22-Oct-09 5:41 
QuestionRe: How to read the characters in the EditTable of SysListView32 style control ? Pin
David Crow22-Oct-09 6:23
David Crow22-Oct-09 6:23 
AnswerRe: if the edit listcontrol in other programs, how can I read the list ?[modified] Pin
wangningyu22-Oct-09 6:35
wangningyu22-Oct-09 6:35 
GeneralRe: if the edit listcontrol in other programs, how can I read the list Pin
David Crow22-Oct-09 7:08
David Crow22-Oct-09 7:08 

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.