Jump to content

[release] Iabout

Recommended Posts

Originally posted by ifido@Jun 30 2004, 08:32 PM

I can remove the black line if you like but I can't make it movable.

Well, I coud but it would make the titlebar fullsize like on regular



If you can post a sources than maybe somebody can make it movable and still with such titlebar... Is it VB or something else?

Delphi sample:

Move a form using client area

 procedure WMNCHitTest( var M: TWMNCHitTest ); message wm_NCCHitTest;

var  Form1: TForm1;

{$R *.DFM}

procedure TForm1. WMNCHitTest(var M: TWMNCHitTest);
 if m.result = htClient then m.result := htCaption;

You can check for PointInRegion (is pointer within "title") and set result := htCaption

Link to comment

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now
  • Create New...