WS_CLIPSIBLINGS problem
-
Why can't I remove the window style WS_CLIPSIBLINGS? If I remove this style using ModifyStyle, it will be there again afterwards. Why?
According to the MSDN,
WS_CLIPSIBLINGS
can be specified when the window is created, but not modified.
Software Zen:
delete this;
-
According to the MSDN,
WS_CLIPSIBLINGS
can be specified when the window is created, but not modified.
Software Zen:
delete this;
-
So, if I want to create a WS_CLIPSIBLINGS-less dialog, I must use CDialog::Create or something like that. But Create is not called in the sourcecode generated by VC++, or is it?
You can specify WS_CLIPSIBLINGS in the resource for the dialog; it should be one of the options in the dialog's properties. My point was that you can't turn
WS_CLIPSIBLINGS
on and off dynamically.
Software Zen:
delete this;
-
You can specify WS_CLIPSIBLINGS in the resource for the dialog; it should be one of the options in the dialog's properties. My point was that you can't turn
WS_CLIPSIBLINGS
on and off dynamically.
Software Zen:
delete this;
The resource editor indicates that WS_CLIPSIBLINGS is NOT activated (Properties, Tab Styles, Check button "Clip Siblings" is not checked). Then why does Spy++ (my code too) indicate that the dialog has WS_CLIPSIBLINGS? The only way to set/reset that style is the resource editor, or I should create it using Create(...) with or without that style. Is that correct?