How would I change the style of a child window in a MDI Application?
What I want is to do disable the minimize, maximize and close buttons. Basically, it must just be plain window with a title bar.
Printable View
How would I change the style of a child window in a MDI Application?
What I want is to do disable the minimize, maximize and close buttons. Basically, it must just be plain window with a title bar.
How are you creating the child window? Is it via CreateWindow()? If yes, then just OR different windows styles until you get one that fits your design.
Kuphryn
No, im using the CreateMDIWindow() function, and the only valid styles that are available are :Quote:
Originally Posted by kuphryn
WS_MINIMIZE
Creates an MDI child window that is initially minimized.
WS_MAXIMIZE
Creates an MDI child window that is initially maximized.
WS_HSCROLL
Creates an MDI child window that has a horizontal scroll bar.
WS_VSCROLL
Creates an MDI child window that has a vertical scroll bar.
CreateMDIWindow()
Read the dwStyle part...
gg