Child Windows
-
:confused: Hi can anyone help? I have dervied a class from CWnd to be a child window. When i create multiple windows via the CWnd::Create function it doesnt show the active window. Normall if a window is selected doesnt it darken to indicate it has focus. Not matter which child window i select they all keep the lighter, not in focus, colour. If any one could help or shed light on the subject i'd be grateful. Cheers Will
-
:confused: Hi can anyone help? I have dervied a class from CWnd to be a child window. When i create multiple windows via the CWnd::Create function it doesnt show the active window. Normall if a window is selected doesnt it darken to indicate it has focus. Not matter which child window i select they all keep the lighter, not in focus, colour. If any one could help or shed light on the subject i'd be grateful. Cheers Will
-
I have tried that and it doesnt seem to do anything. Any OTher Ideas?
-
:confused: Hi can anyone help? I have dervied a class from CWnd to be a child window. When i create multiple windows via the CWnd::Create function it doesnt show the active window. Normall if a window is selected doesnt it darken to indicate it has focus. Not matter which child window i select they all keep the lighter, not in focus, colour. If any one could help or shed light on the subject i'd be grateful. Cheers Will
-
:confused: Hi can anyone help? I have dervied a class from CWnd to be a child window. When i create multiple windows via the CWnd::Create function it doesnt show the active window. Normall if a window is selected doesnt it darken to indicate it has focus. Not matter which child window i select they all keep the lighter, not in focus, colour. If any one could help or shed light on the subject i'd be grateful. Cheers Will
This is what I do: hwnd = CreateWindow("STATIC", pMessage, WS_POPUP | WS_VISIBLE | WS_DLGFRAME | SS_CENTER | DS_SETFOREGROUND, (rectMainWnd.right-rectMainWnd.left-iWidth)/2+rectMainWnd.left, (rectMainWnd.bottom-rectMainWnd.top-iHeight)/2+rectMainWnd.top, iWidth, iHeight, NULL, NULL, hi_app, NULL); SetWindowText(hwnd, pMessage); ShowWindow(hwnd, SW_SHOW); UpdateWindow(hwnd);