Board index » delphi » Sizegrip

Sizegrip

Hi,

I try to get a size grip in the right lower corner of a form.
Is this possible without using a statusbar control?

I know DrawFrameControl with State fcsSCROLLSIZEGRIP
but this do not work with XP.

Thanks

 

Re:Sizegrip


Quote
Steve wrote:
> I know DrawFrameControl with State fcsSCROLLSIZEGRIP
> but this do not work with XP.

When the window is themed (use GetWindowTheme(Form.Handle) <> 0 to check
this), you can use

DrawThemeBackground(Theme, Canvas.Handle, SP_GRIPPER, 0, GripperRect, nil);

--
Eugene Mayevski
EldoS Group, chief coordinator
Software development for Windows, Palm and PocketPC
http://www.eldos.org

Other Threads