Click here to Skip to main content
16,007,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DLL being freed Pin
gamitech18-Sep-04 12:20
gamitech18-Sep-04 12:20 
Generalwhy ATL based ACTIVEX control got flicker when Redraw Pin
max_xiayi17-Sep-04 13:08
max_xiayi17-Sep-04 13:08 
QuestionDCOM application doesn't get closed ? Pin
Anonymous17-Sep-04 10:45
Anonymous17-Sep-04 10:45 
QuestionProgrammatically set default printer? Pin
DanYELL17-Sep-04 10:38
DanYELL17-Sep-04 10:38 
AnswerRe: Programmatically set default printer? Pin
Ravi Bhavnani19-Sep-04 5:56
professionalRavi Bhavnani19-Sep-04 5:56 
Generaldrawing a 256 color bitmap Pin
Leyu17-Sep-04 10:20
Leyu17-Sep-04 10:20 
GeneralRe: drawing a 256 color bitmap Pin
Sujan Christo17-Sep-04 20:16
Sujan Christo17-Sep-04 20:16 
GeneralRe: drawing a 256 color bitmap Pin
Leyu17-Sep-04 22:11
Leyu17-Sep-04 22:11 
i have already seen that article and used it in my code but the line
if( dc.GetDeviceCaps(RASTERCAPS) & RC_PALETTE && palette.m_hObject != NULL )
{
dc.SelectPalette( &palette, FALSE );
dc.RealizePalette();
}
the evaluation in the if statement is always NULL and nothing is drawn on the screen i am drawing in the CView::OnDraw() function and i created one class storing the bitmap and palette all together and some operations as loading image generating the palette and so on but nothing is drawn
GeneralRe: drawing a 256 color bitmap Pin
Sujan Christo18-Sep-04 0:09
Sujan Christo18-Sep-04 0:09 
QuestionInitializnig a dialogbox dimensions?? Pin
Jump_Around17-Sep-04 8:51
Jump_Around17-Sep-04 8:51 
AnswerRe: Initializnig a dialogbox dimensions?? Pin
David Crow17-Sep-04 9:06
David Crow17-Sep-04 9:06 
AnswerRe: Initializnig a dialogbox dimensions?? Pin
Wes Aday17-Sep-04 9:07
professionalWes Aday17-Sep-04 9:07 
QuestionHelp a very newbie? please? Pin
Dam.NET17-Sep-04 7:19
Dam.NET17-Sep-04 7:19 
AnswerRe: Help a very newbie? please? Pin
Antti Keskinen19-Sep-04 7:26
Antti Keskinen19-Sep-04 7:26 
GeneralHTTP Server Pin
tom87@2117-Sep-04 6:42
tom87@2117-Sep-04 6:42 
GeneralRe: HTTP Server Pin
parths19-Sep-04 20:21
parths19-Sep-04 20:21 
Generaltimeout exit question Pin
Anonymous17-Sep-04 6:40
Anonymous17-Sep-04 6:40 
GeneralRe: timeout exit question Pin
PJ Arends17-Sep-04 7:06
professionalPJ Arends17-Sep-04 7:06 
GeneralRe: timeout exit question Pin
gamitech17-Sep-04 9:33
gamitech17-Sep-04 9:33 
QuestionSorry where can I post VC++ .NET questions? Pin
Dam.NET17-Sep-04 6:27
Dam.NET17-Sep-04 6:27 
AnswerRe: Sorry where can I post VC++ .NET questions? Pin
PJ Arends17-Sep-04 7:10
professionalPJ Arends17-Sep-04 7:10 
AnswerRe: Sorry where can I post VC++ .NET questions? Pin
Dam.NET17-Sep-04 7:13
Dam.NET17-Sep-04 7:13 
GeneralDebug options in Visual C++ Pin
BrentTheHack17-Sep-04 6:02
BrentTheHack17-Sep-04 6:02 
GeneralRe: Debug options in Visual C++ Pin
PJ Arends17-Sep-04 7:17
professionalPJ Arends17-Sep-04 7:17 
GeneralRe: Debug options in Visual C++ Pin
m_mond17-Sep-04 9:22
m_mond17-Sep-04 9:22 

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.