G
Guest
How can I get the backgroundcolor of a dialog, or generally a parent window ?
I´ve tried "GetBkColor" on my own window, my parent window, the next parent window, the next and the next, but the return value always claims the background color would be white
I´ve already used all kinds of System Colors (throug GetSysColor) but their are all wrong. Even "CTLCOLOR_DLG" returns the wrong color. Althoug I´m use the default color for my dialog
Searching for help on the internet brought up thousands of examples on how to CHANGE the background color but I found not a single tip how to GET the current background color
Is there any way to solve this problem ??
Is this silly thing realy such a difficult task ???
I´ve tried "GetBkColor" on my own window, my parent window, the next parent window, the next and the next, but the return value always claims the background color would be white
I´ve already used all kinds of System Colors (throug GetSysColor) but their are all wrong. Even "CTLCOLOR_DLG" returns the wrong color. Althoug I´m use the default color for my dialog
Searching for help on the internet brought up thousands of examples on how to CHANGE the background color but I found not a single tip how to GET the current background color
Is there any way to solve this problem ??
Is this silly thing realy such a difficult task ???