View Full Version : Adding a size grip to a windows vista style window

15th April 2010, 19:23
We use a MDIArea containing MDISubwindows, and the default style for these windows on my machine is windows Vista, I believe, which doesn't show a size grip in the lower right hand corner of the window.

I am trying to add a size grip to the window. When I tried just creating a size grip with the window as the parent, it shows up below the bottom scroll bar of the window. I then tried getting the style of the window using the style method, tweeking the style using QStyle::CT_SizeGrip, and then calling setStyle again, but I can't figure out how to add the CT_SizeGrip value to the style.

I am probably missing something simple here. If someone could enlighten me, I would appreciate it. :)