Click here to Skip to main content
15,916,091 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creation of controls at run time Pin
Sangeetha Jayaraman26-Jun-06 1:55
Sangeetha Jayaraman26-Jun-06 1:55 
GeneralRe: Creation of controls at run time Pin
Sarath C26-Jun-06 2:08
Sarath C26-Jun-06 2:08 
Questionhow to set background color to the Dlg?? Pin
mimimimilaw25-Jun-06 22:17
mimimimilaw25-Jun-06 22:17 
AnswerRe: how to set background color to the Dlg?? Pin
lidujun200825-Jun-06 22:30
lidujun200825-Jun-06 22:30 
GeneralRe: how to set background color to the Dlg?? Pin
lidujun200825-Jun-06 22:34
lidujun200825-Jun-06 22:34 
GeneralRe: how to set background color to the Dlg?? [modified] Pin
Viorel.25-Jun-06 22:38
Viorel.25-Jun-06 22:38 
GeneralRe: how to set background color to the Dlg?? Pin
Hamid_RT25-Jun-06 23:00
Hamid_RT25-Jun-06 23:00 
GeneralRe: how to set background color to the Dlg?? Pin
Viorel.25-Jun-06 23:19
Viorel.25-Jun-06 23:19 
In my opinion, changing of background colour in a WM_PAINT handler has a disadvantage: flickering. First the background is filled by the system colour in the WM_ERASEBKGND default handler, and then it is over-painted in WM_PAINT handler.

In order to avoid flickering, a new handler for WM_ERASEBKGND is to be provided, which simply does nothing and returns TRUE.

Therefore, the WM_ERASEBKGND message has to be handled anyway.

I think the WM_ERASEBKGND notification is the message which was originally designed for purpose under discussion.
AnswerRe: how to set background color to the Dlg?? Pin
Hamid_RT25-Jun-06 22:31
Hamid_RT25-Jun-06 22:31 
GeneralRe: how to set background color to the Dlg?? Pin
Sarath C25-Jun-06 22:49
Sarath C25-Jun-06 22:49 
GeneralRe: how to set background color to the Dlg?? Pin
Hamid_RT25-Jun-06 22:58
Hamid_RT25-Jun-06 22:58 
GeneralRe: how to set background color to the Dlg?? Pin
Sarath C25-Jun-06 23:23
Sarath C25-Jun-06 23:23 
GeneralRe: how to set background color to the Dlg?? Pin
Hamid_RT25-Jun-06 23:36
Hamid_RT25-Jun-06 23:36 
AnswerRe: how to set background color to the Dlg?? Pin
ovidiucucu26-Jun-06 1:43
ovidiucucu26-Jun-06 1:43 
Question"Force file output" option in Visual Studio.NET Pin
dashprasannajit25-Jun-06 22:07
dashprasannajit25-Jun-06 22:07 
AnswerRe: "Force file output" option in Visual Studio.NET Pin
Viorel.25-Jun-06 22:25
Viorel.25-Jun-06 22:25 
Questionregarding FileDialog Pin
happy_ram25-Jun-06 21:32
happy_ram25-Jun-06 21:32 
AnswerRe: regarding FileDialog Pin
kakan25-Jun-06 21:36
professionalkakan25-Jun-06 21:36 
GeneralRe: regarding FileDialog Pin
happy_ram25-Jun-06 21:42
happy_ram25-Jun-06 21:42 
GeneralRe: regarding FileDialog Pin
kakan25-Jun-06 21:49
professionalkakan25-Jun-06 21:49 
GeneralRe: regarding FileDialog Pin
happy_ram25-Jun-06 22:20
happy_ram25-Jun-06 22:20 
GeneralRe: regarding FileDialog Pin
kakan25-Jun-06 22:27
professionalkakan25-Jun-06 22:27 
GeneralRe: regarding FileDialog Pin
happy_ram25-Jun-06 22:41
happy_ram25-Jun-06 22:41 
GeneralRe: regarding FileDialog Pin
kakan25-Jun-06 22:49
professionalkakan25-Jun-06 22:49 
GeneralRe: regarding FileDialog Pin
happy_ram25-Jun-06 23:27
happy_ram25-Jun-06 23:27 

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.