Hi, I changed my code from CPorperty Sheet to use a CTabCtrl directly. But I have now the problem, that all dialogs I show inside the tab are grey and the tab background is white. How I can make the same background color to the CDialog I show inside the tab?
You need to handle the WM_CTLCOLOR (Or in MFC onCtlColor) message in your dialog and return the system brush that correspondes to "window color", you can use GetSysColorBrush with COLOR_WINDOW to fetch
Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers). Error trapping with try..catch to help the code run even if something goes wrong.
Continuing from the seve…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…