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

windows.

<{POST_SNAPBACK}>

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

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

var  Form1: TForm1;

implementation
{$R *.DFM}

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

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...