Click here to Skip to main content
15,921,643 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to change background color of dialog box.. Pin
Shah Satish1-Feb-07 5:18
Shah Satish1-Feb-07 5:18 
AnswerRe: How to change background color of dialog box.. Pin
toxcct1-Feb-07 5:26
toxcct1-Feb-07 5:26 
GeneralRe: How to change background color of dialog box.. Pin
Shah Satish1-Feb-07 5:55
Shah Satish1-Feb-07 5:55 
AnswerRe: How to change background color of dialog box.. Pin
jhwurmbach1-Feb-07 5:51
jhwurmbach1-Feb-07 5:51 
GeneralRe: How to change background color of dialog box.. Pin
Shah Satish1-Feb-07 6:00
Shah Satish1-Feb-07 6:00 
GeneralRe: How to change background color of dialog box.. Pin
jhwurmbach1-Feb-07 6:12
jhwurmbach1-Feb-07 6:12 
GeneralRe: How to change background color of dialog box.. Pin
Shah Satish1-Feb-07 6:19
Shah Satish1-Feb-07 6:19 
GeneralRe: How to change background color of dialog box.. Pin
jhwurmbach1-Feb-07 6:44
jhwurmbach1-Feb-07 6:44 
Shah Satish wrote:
Picture control box is showing preview of my Autocad file(dwg file).


Who, I mean what code, is rendering the dwg-file?
Most probably this code has a setting to set the background-color of its rendering?

You can also subclass the control and in the derived class handle WM_ERASEBKGND.
There you use the background-colored brush to erase the background.






"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."

-- Caius Petronius, Roman Consul, 66 A.D.

AnswerRe: How to change background color of dialog box.. Pin
Hamid_RT1-Feb-07 20:59
Hamid_RT1-Feb-07 20:59 
QuestionTo DropDown A ComboBox programmatically Pin
mikobi1-Feb-07 4:46
mikobi1-Feb-07 4:46 
AnswerRe: To DropDown A ComboBox programmatically Pin
toxcct1-Feb-07 4:52
toxcct1-Feb-07 4:52 
GeneralRe: To DropDown A ComboBox programmatically Pin
mikobi1-Feb-07 4:58
mikobi1-Feb-07 4:58 
GeneralRe: To DropDown A ComboBox programmatically Pin
toxcct1-Feb-07 4:58
toxcct1-Feb-07 4:58 
GeneralRe: To DropDown A ComboBox programmatically Pin
mikobi1-Feb-07 5:05
mikobi1-Feb-07 5:05 
GeneralRe: To DropDown A ComboBox programmatically Pin
toxcct1-Feb-07 5:07
toxcct1-Feb-07 5:07 
GeneralRe: To DropDown A ComboBox programmatically Pin
mikobi1-Feb-07 5:35
mikobi1-Feb-07 5:35 
GeneralRe: To DropDown A ComboBox programmatically Pin
toxcct1-Feb-07 5:38
toxcct1-Feb-07 5:38 
GeneralRe: To DropDown A ComboBox programmatically Pin
mikobi1-Feb-07 6:07
mikobi1-Feb-07 6:07 
GeneralRe: To DropDown A ComboBox programmatically Pin
toxcct1-Feb-07 6:12
toxcct1-Feb-07 6:12 
GeneralRe: To DropDown A ComboBox programmatically Pin
David Crow1-Feb-07 7:00
David Crow1-Feb-07 7:00 
GeneralRe: To DropDown A ComboBox programmatically Pin
Roger Stoltz1-Feb-07 5:57
Roger Stoltz1-Feb-07 5:57 
GeneralRe: To DropDown A ComboBox programmatically Pin
Rama Krishna Vavilala1-Feb-07 5:01
Rama Krishna Vavilala1-Feb-07 5:01 
GeneralRe: To DropDown A ComboBox programmatically Pin
mikobi1-Feb-07 19:14
mikobi1-Feb-07 19:14 
AnswerRe: To DropDown A ComboBox programmatically Pin
Newbie009-Feb-07 8:22
Newbie009-Feb-07 8:22 
QuestionEnumerated types Pin
Jay031-Feb-07 4:04
Jay031-Feb-07 4:04 

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.