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

C / C++ / MFC

 
GeneralRe: Where is the CMainFrame in dialog project ??? Pin
Christian Graus19-May-01 13:04
protectorChristian Graus19-May-01 13:04 
GeneralRe: Where is the CMainFrame in dialog project ??? Pin
Christian Graus19-May-01 13:12
protectorChristian Graus19-May-01 13:12 
GeneralPlease !! HELP ME !! I Don't SUCCESS !!! ??? Pin
19-May-01 20:40
suss19-May-01 20:40 
GeneralRe: Please !! HELP ME !! I Don't SUCCESS !!! ??? Pin
Christian Graus19-May-01 21:59
protectorChristian Graus19-May-01 21:59 
AnswerRe: How is it possible to access to global variable in project ? Pin
#realJSOP20-May-01 2:40
professional#realJSOP20-May-01 2:40 
QuestionHow to pass the firewall?? Pin
realyxm17-May-01 22:08
realyxm17-May-01 22:08 
QuestionCan anyone erase the background bitmap? Pin
17-May-01 17:05
suss17-May-01 17:05 
AnswerRe: Can anyone erase the background bitmap? Pin
Christian Graus17-May-01 17:43
protectorChristian Graus17-May-01 17:43 
How did you draw it ? If you drew it in OnPaint directly to the client area, just Invalidate(false) to force a redraw, and have a flag set so it doesn't draw again. This will not erase the bitmap, because the (false) means no erase ( to stop flicker), but as you want a black box instead, you use dc.FillSolidRect to draw over the same area in black (RGB(0,0,0)). If it's drawn in a control, you'll call ShowWindow(SW_HIDE) on the control in your paint code, and draw the box, still calling OnPaint by the Invalidate call ( don't ever call OnPaint() directly ).

Christian

#include "std_disclaimer.h"
QuestionAny ideas on reducing link times? Pin
Chris Hafey17-May-01 15:18
Chris Hafey17-May-01 15:18 
AnswerRe: Any ideas on reducing link times? Pin
Anders Molin17-May-01 23:57
professionalAnders Molin17-May-01 23:57 
GeneralRe: Any ideas on reducing link times? Pin
Gerry18-May-01 3:30
Gerry18-May-01 3:30 
GeneralRe: Any ideas on reducing link times? Pin
18-May-01 4:52
suss18-May-01 4:52 
GeneralPrinting under MFC - ARGH !!! Pin
Christian Graus17-May-01 14:57
protectorChristian Graus17-May-01 14:57 
GeneralRe: Printing under MFC - ARGH !!! Pin
l a u r e n18-May-01 12:51
l a u r e n18-May-01 12:51 
GeneralRe: Printing under MFC - ARGH !!! Pin
Christian Graus18-May-01 12:59
protectorChristian Graus18-May-01 12:59 
GeneralRe: Printing under MFC - ARGH !!! Pin
CodeGuy18-May-01 16:50
CodeGuy18-May-01 16:50 
GeneralUnicode File I/O Pin
Shankar Chandra Bose17-May-01 14:35
Shankar Chandra Bose17-May-01 14:35 
GeneralRe: Unicode File I/O Pin
l a u r e n18-May-01 12:53
l a u r e n18-May-01 12:53 
GeneralCRecordset and SQL Server 2000 Pin
SuperGeek17-May-01 11:15
SuperGeek17-May-01 11:15 
GeneralRe: CRecordset and SQL Server 2000 Pin
4-Sep-01 1:27
suss4-Sep-01 1:27 
GeneralCFormView Throwing Exception Pin
Christopher17-May-01 10:45
Christopher17-May-01 10:45 
GeneralEjecting a CD Pin
17-May-01 8:53
suss17-May-01 8:53 
GeneralRe: Ejecting a CD Pin
Ed Dixon17-May-01 9:21
Ed Dixon17-May-01 9:21 
GeneralRe: Ejecting a CD Pin
Tomasz Sowinski17-May-01 9:28
Tomasz Sowinski17-May-01 9:28 
GeneralRe: Ejecting a CD Pin
17-May-01 18:11
suss17-May-01 18:11 

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.