Dear support team,
Please assume I can do the following in a CWnd derived constructor as below:
HINSTANCE hInstance = (HINSTANCE) GetModuleHandle(NULL);
CString sClass = AfxRegisterWndClass(
CS_VREDRAW | CS_HREDRAW,
::LoadCursor(NULL, IDC_ARROW),
(HBRUSH) ::GetStockObject(WHITE_BRUSH),
//::LoadIcon(NULL, IDI_APPLICATION)
::LoadIcon(hInstance, MAKEINTRESOURCE(IDI_WHITEMSG))
);
BOOL status = CreateEx(
0, // WS_EX_APPWINDOW | WS_EX_CLIENTEDGE | WS_EX_WINDOWEDGE,
sClass,
sCaption,
WS_OVERLAPPEDWINDOW | WS_VISIBLE|WS_BORDER,
CW_USEDEFAULT, CW_USEDEFAULT,
ISM_DEFAULT_W, ISM_DEFAULT_H,
NULL, NULL, NULL);
What I would like to ask is that how to make the window layout be consistent if I used:
g_PaintManager.InstallPaintManager(RUNTIME_CLASS(CExtPaintManagerOffice2007_R2_Obsidian))
Like the black caption bar, black buttons for maximize, minimize and close.
Thanks in advance.
Regards,
Chun Pong