CDialogResize does not draw CStatic properly
-
i have MDI app (whithout Doc/View), i have an FormView ( IDD_SEARCH_FORM ) on which i have CStatic control (standart group box) SearchView.h -------------- class CSearchView : public CDialogImpl, public CDialogResize actualy all is ok - all controls resized as needed except group box is not __repainted__, but __resized__ !! how to get it working ? ---------------------------- never stop coding.
-
i have MDI app (whithout Doc/View), i have an FormView ( IDD_SEARCH_FORM ) on which i have CStatic control (standart group box) SearchView.h -------------- class CSearchView : public CDialogImpl, public CDialogResize actualy all is ok - all controls resized as needed except group box is not __repainted__, but __resized__ !! how to get it working ? ---------------------------- never stop coding.
Turn on the
Transparent
style on the group box, that way it's painted after all sibling controls. --Mike-- Personal stuff:: Ericahist | Homepage Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ ---- "That probably would've sounded more commanding if I wasn't wearing my yummy sushi pajamas." -- Buffy -
Turn on the
Transparent
style on the group box, that way it's painted after all sibling controls. --Mike-- Personal stuff:: Ericahist | Homepage Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ ---- "That probably would've sounded more commanding if I wasn't wearing my yummy sushi pajamas." -- Buffy