{"id":12354,"date":"2022-09-30T13:12:21","date_gmt":"2022-09-30T07:42:21","guid":{"rendered":"https:\/\/jassweb.com\/solved\/solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders\/"},"modified":"2022-09-30T13:12:21","modified_gmt":"2022-09-30T07:42:21","slug":"solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders","status":"publish","type":"post","link":"https:\/\/jassweb.com\/solved\/solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders\/","title":{"rendered":"[Solved] How to make custom sizing for window with non-sizeable borders?"},"content":{"rendered":"<p> [ad_1]<br \/>\n<\/p>\n<div id=\"answer-38297216\" class=\"answer js-answer accepted-answer js-accepted-answer\" data-answerid=\"38297216\" data-parentid=\"38297215\" data-score=\"-1\" data-position-on-page=\"1\" data-highest-scored=\"1\" data-question-has-accepted-highest-score=\"1\" itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<div class=\"post-layout\">\n<div class=\"votecell post-layout--left\"><\/div>\n<div class=\"answercell post-layout--right\">\n<div class=\"s-prose js-post-body\" itemprop=\"text\">\n<p>Here a customized form-class with implemented non-sizeable borders sizing and possibility to disable sizing for specified edges. Also it supports double clicks on borders to toggle between two rectangle-boundaries: <code>AutoSizeRect<\/code> to values of which form sides getting moved on dblclick and <code>SavedSizeRect<\/code> into which values form side coordinates saved before changing. So <code>AutoSizeRect<\/code> could be setted to some area of the screen at a run-time to give user ability to swap border-side&#8217;s coords between specified area and current BoundsRect. Very convenient for all kinds of palette-windows (aka ToolWindows). Best combined with custom sticking\/aligning.<\/p>\n<pre><code>{...}\nconst\n  crMin=-32768; {lowest value for tCursor}\n  {predefined variable for tRect with undefined values:}\n  nullRect:tRect=(Left:MaxInt;Top:MaxInt;Right:MaxInt;Bottom:MaxInt);\ntype\n  {all sides and corners of Rect including inner part (rcClient):}\n  TRectCorner=(rcClient,rcTopLeft,rcTop,rcTopRight,rcLeft,rcRight,rcBottomLeft,rcBottom,rcBottomRight);\n  {here goes the mentioned class:}\n  TCustomSizingForm = class(TForm)\n  protected\n  private\n    disSizing:tAnchors; {edges with disabled sizing}\n    cCorner:tRectCorner; {current corner}\n    cCurSaved:tCursor; {saved cursor value for sizing}\n    coordsSv:tRect; {saved side's coordinates}\n    coordsASize:tRect; {auto-sizing area for dblclicks}\n    aSizeAcc:byte; {auto-sizing accuracy}\n    {checking if current edge-side is not disabled:}\n    function cCornerAvailable:boolean;\n    {setting sizing-cursor based on the edge-side:}\n    procedure setCursorViaCorner(Corner:tRectCorner);\n    {checking if mouse on borders and setting sizing cursor:}\n    function checkMouseOnBorders(msg:tWmNcHitMessage):boolean;\n    {NcHitTes and other NC-messages handlers:}\n    procedure WMNCHitTest(var msg:tWmNcHitTest); message WM_NCHITTEST;\n    procedure BordersLButtonDown(var msg:tWmNcHitMessage); message WM_NCLBUTTONDOWN;\n    procedure BordersLButtonUp(var msg:tWmNcHitMessage); message WM_NCLBUTTONUP;\n    procedure BordersMouseMove(var msg:tWmNcHitMessage); message WM_NCMOUSEMOVE;\n    procedure BordersLDblClick(var msg:tWmNcHitMessage); message WM_NCLBUTTONDBLCLK;\n  public\n    {Create-override for initializing rect-values:}\n    constructor Create(AOwner: TComponent); override;\n    {calculation of edge-side from tPoint:}\n    function getCornerFromPoint(BoundsRect:tRect; x,y:smallInt):tRectCorner;\n    {properties:}\n    property CursorSaved:tCursor read cCurSaved write cCurSaved default crMin;\n    property AutoSizeRect:tRect read coordsASize write coordsASize;\n    property SavedSizeRect:tRect read coordsSv write coordsSv;\n  published\n    {overwriting default BorderStyle:}\n    property BorderStyle default bsToolWindow;\n    {publishing disSizing property for Object Inspector:}\n    property DisabledSizingEdges:tAnchors read disSizing write disSizing default [];\n  end;\n\n{...}\nimplementation\n\n{--- TCustomSizingForm - public section: ---}\n\nconstructor TCustomSizingForm.Create(AOwner: TComponent);\nbegin\n  inherited Create(AOwner);\n  SavedSizeRect:=nullRect;\n  AutoSizeRect:=nullRect;\nend;\n\nfunction TCustomSizingForm.getCornerFromPoint(BoundsRect:tRect; x,y:smallInt):tRectCorner;\nvar CornerSize,BorderSize:tBorderWidth;\nbegin\n  BorderSize:=4+self.BorderWidth;\n  CornerSize:=8+BorderSize;\n  with BoundsRect do\n  if y&lt;Top+BorderSize then\n  if x&lt;Left+CornerSize then Result:=rcTopLeft\n  else if x&gt;Right-CornerSize then Result:=rcTopRight\n  else Result:=rcTop\n  else if y&gt;Bottom-BorderSize then\n  if x&lt;Left+CornerSize then Result:=rcBottomLeft\n  else if x&gt;Right-CornerSize then Result:=rcBottomRight\n  else Result:=rcBottom\n  else if x&lt;Left+BorderSize then\n  if y&lt;Top+CornerSize then Result:=rcTopLeft\n  else if y&gt;Bottom-CornerSize then Result:=rcBottomLeft\n  else Result:=rcLeft\n  else if x&gt;Right-BorderSize then\n  if y&lt;Top+CornerSize then Result:=rcTopRight\n  else if y&gt;Bottom-CornerSize then Result:=rcBottomRight\n  else Result:=rcRight\n  else Result:=rcClient;\nend;\n\n{--- TCustomSizingForm - private section: ---}\n\nfunction TCustomSizingForm.cCornerAvailable:boolean;\nvar ca:tAnchorKind;\nbegin\n  result:=true;\n  if(disSizing=[])then exit;\n  if(cCorner in[rcTopLeft,rcLeft,rcBottomLeft])then begin\n    ca:=akLeft;\n  end else if(cCorner in[rcTopRight,rcRight,rcBottomRight])then begin\n    ca:=akRight;\n  end else if(cCorner in[rcTopLeft,rcTop,rcTopRight])then begin\n    ca:=akTop;\n  end else ca:=akBottom;\n  if(ca in disSizing)then result:=false;\nend;\n\nprocedure TCustomSizingForm.setCursorViaCorner(Corner:tRectCorner);\nvar c:tCursor;\nbegin\n  case Corner of\n    rcLeft,rcRight: c:=crSizeWE;\n    rcTop,rcBottom: c:=crSizeNS;\n    rcTopLeft,rcBottomRight: c:=crSizeNWSE;\n    rcTopRight,rcBottomLeft: c:=crSizeNESW;\n  else exit;\n  end;\n  if(cursorSaved=crMin)then cursorSaved:=screen.Cursor;\n  setCursor(screen.Cursors[c]);\nend;\n\nfunction TCustomSizingForm.checkMouseOnBorders(msg:tWmNcHitMessage):boolean;\nbegin\n  result:=true;\n  cCorner:=rcClient;\n  if(msg.HitTest&lt;&gt;HTBORDER)then exit;\n  cCorner:=getCornerFromPoint(self.BoundsRect,msg.XCursor,msg.YCursor);\n  if(cCorner=rcClient)then exit;\n  if(cCornerAvailable)then begin\n    setCursorViaCorner(cCorner);\n    result:=false;\n  end;\nend;\n\n{--- TCustomSizingForm - WinApi_message_handlers: ---}\n\nprocedure TCustomSizingForm.WMNCHitTest(var msg:tWmNcHitTest);\nvar hitMsg:tWmNcHitMessage;\nbegin\n  inherited;\n  if(msg.Result=HTNOWHERE)and(PtInRect(self.BoundsRect,point(msg.XPos,msg.YPos)))then msg.Result:=HTBORDER\n    else if(msg.Result&lt;&gt;HTBORDER)then exit;\n  hitMsg.HitTest:=msg.Result;\n  hitMsg.XCursor:=msg.XPos;\n  hitMsg.YCursor:=msg.YPos;\n  checkMouseOnBorders(hitMsg);\nend;\n\nprocedure TCustomSizingForm.BordersLButtonDown(var msg:tWmNcHitMessage);\nconst SC_SIZELEFT=1; SC_SIZERIGHT=2; SC_SIZETOP=3; SC_SIZEBOTTOM=6;\nvar m:integer;\nbegin\n  inherited;\n  if(checkMouseOnBorders(msg))then exit;\n  m:=SC_SIZE;\n  if(cCorner in[rcTopLeft,rcLeft,rcBottomLeft])then begin\n    inc(m,SC_SIZELEFT);\n  end else if(cCorner in[rcTopRight,rcRight,rcBottomRight])then begin\n    inc(m,SC_SIZERIGHT);\n  end;\n  if(cCorner in[rcTopLeft,rcTop,rcTopRight])then begin\n    inc(m,SC_SIZETOP);\n  end else if(cCorner in[rcBottomLeft,rcBottom,rcBottomRight])then begin\n    inc(m,SC_SIZEBOTTOM);\n  end;\n  ReleaseCapture;\n  SendMessage(self.Handle,WM_SYSCOMMAND,m,0);\nend;\n\nprocedure TCustomSizingForm.BordersLButtonUp(var msg:tWmNcHitMessage);\nbegin\n  inherited;\n  if(cursorSaved=crMin)then exit;\n  setCursor(screen.Cursors[cursorSaved]);\n  cursorSaved:=crMin;\nend;\n\nprocedure TCustomSizingForm.BordersMouseMove(var msg:tWmNcHitMessage);\nbegin\n  inherited;\n  checkMouseOnBorders(msg);\nend;\n\nprocedure TCustomSizingForm.BordersLDblClick(var msg:tWmNcHitMessage);\nvar es:tAnchors; old,new:tRect;\nbegin\n  inherited;\n  if(checkMouseOnBorders(msg))or(EqualRect(coordsASize,nullRect))then exit;\n  es:=[];\n  ReleaseCapture;\n  if(cCorner in[rcTopLeft,rcLeft,rcBottomLeft])then es:=es+[akLeft];\n  if(cCorner in[rcTopRight,rcRight,rcBottomRight])then es:=es+[akRight];\n  if(cCorner in[rcTopLeft,rcTop,rcTopRight])then es:=es+[akTop];\n  if(cCorner in[rcBottomLeft,rcBottom,rcBottomRight])then es:=es+[akBottom];\n  if(es=[])then exit;\n  old:=self.BoundsRect;\n  new:=old;\n  if(akLeft in es)and(coordsASize.Left&lt;MaxInt)then begin\n    if(abs(old.Left-coordsASize.Left)&lt;=aSizeAcc)then begin\n      new.Left:=coordsSv.Left;\n    end else begin\n      coordsSv.Left:=old.Left;\n      new.Left:=coordsASize.Left;\n    end;\n  end;\n  if(akRight in es)and(coordsASize.Right&lt;MaxInt)then begin\n    if(abs(old.Right-coordsASize.Right)&lt;=aSizeAcc)then begin\n      new.Right:=coordsSv.Right;\n    end else begin\n      coordsSv.Right:=old.Right;\n      new.Right:=coordsASize.Right;\n    end;\n  end;\n  if(akTop in es)and(coordsASize.Top&lt;MaxInt)then begin\n    if(abs(old.Top-coordsASize.Top)&lt;=aSizeAcc)then begin\n      new.Top:=coordsSv.Top;\n    end else begin\n      coordsSv.Top:=old.Top;\n      new.Top:=coordsASize.Top;\n    end;\n  end;\n  if(akBottom in es)and(coordsASize.Bottom&lt;MaxInt)then begin\n    if(abs(old.Bottom-coordsASize.Bottom)&lt;=aSizeAcc)then begin\n      new.Bottom:=coordsSv.Bottom;\n    end else begin\n      coordsSv.Bottom:=old.Bottom;\n      new.Bottom:=coordsASize.Bottom;\n    end;\n  end;\n  self.BoundsRect:=new;\nend;\n\n{...}\n<\/code><\/pre>\n<p><code>DisabledSizingEdges<\/code> property is a set of edges which will be turned off (e.g. <code>DisabledSizingEdges:=[akLeft,akTop];<\/code> will turn off sizing for Left-side, Top-side, LeftBottom-corner, LeftTop-corner &amp; TopRight-corner)<\/p>\n<p>P.S. actually one can create form with <code>BorderStyle<\/code> set to <code>bsNone<\/code> and set <code>BorderWidth<\/code> higher than zero to achieve sizing via inner borders:<\/p>\n<pre><code>{...}\ntype\n  TForm1 = class(TCustomSizingForm)\n    procedure FormCreate(Sender: TObject);\n  private\n  public\n  end;\n{...}\nprocedure TForm1.FormCreate(Sender: TObject);\nbegin\n  BorderStyle:=bsNone;\n  BorderWidth:=4;\nend;\n{...}\n<\/code><\/pre>\n<\/p><\/div>\n<div class=\"mt24\"><\/div>\n<\/div>\n<p>            <span class=\"d-none\" itemprop=\"commentCount\">2<\/span> <\/p><\/div>\n<\/div>\n<p>[ad_2]<\/p>\n<p>solved How to make custom sizing for window with non-sizeable borders? <\/p>\n","protected":false},"excerpt":{"rendered":"<p>[ad_1] Here a customized form-class with implemented non-sizeable borders sizing and possibility to disable sizing for specified edges. Also it supports double clicks on borders to toggle between two rectangle-boundaries: AutoSizeRect to values of which form sides getting moved on dblclick and SavedSizeRect into which values form side coordinates saved before changing. So AutoSizeRect could &#8230; <a title=\"[Solved] How to make custom sizing for window with non-sizeable borders?\" class=\"read-more\" href=\"https:\/\/jassweb.com\/solved\/solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders\/\" aria-label=\"More on [Solved] How to make custom sizing for window with non-sizeable borders?\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[320],"tags":[918,740,1301,3372,774],"class_list":["post-12354","post","type-post","status-publish","format-standard","hentry","category-solved","tag-border","tag-delphi","tag-delphi-7","tag-resize","tag-windows"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[Solved] How to make custom sizing for window with non-sizeable borders? - JassWeb<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jassweb.com\/solved\/solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Solved] How to make custom sizing for window with non-sizeable borders? - JassWeb\" \/>\n<meta property=\"og:description\" content=\"[ad_1] Here a customized form-class with implemented non-sizeable borders sizing and possibility to disable sizing for specified edges. Also it supports double clicks on borders to toggle between two rectangle-boundaries: AutoSizeRect to values of which form sides getting moved on dblclick and SavedSizeRect into which values form side coordinates saved before changing. So AutoSizeRect could ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jassweb.com\/solved\/solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders\/\" \/>\n<meta property=\"og:site_name\" content=\"JassWeb\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-30T07:42:21+00:00\" \/>\n<meta name=\"author\" content=\"Kirat\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kirat\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders\/\"},\"author\":{\"name\":\"Kirat\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31\"},\"headline\":\"[Solved] How to make custom sizing for window with non-sizeable borders?\",\"datePublished\":\"2022-09-30T07:42:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders\/\"},\"wordCount\":161,\"publisher\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\"},\"keywords\":[\"border\",\"delphi\",\"delphi-7\",\"resize\",\"windows\"],\"articleSection\":[\"Solved\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders\/\",\"url\":\"https:\/\/jassweb.com\/solved\/solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders\/\",\"name\":\"[Solved] How to make custom sizing for window with non-sizeable borders? - JassWeb\",\"isPartOf\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#website\"},\"datePublished\":\"2022-09-30T07:42:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jassweb.com\/solved\/solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jassweb.com\/solved\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Solved] How to make custom sizing for window with non-sizeable borders?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jassweb.com\/solved\/#website\",\"url\":\"https:\/\/jassweb.com\/solved\/\",\"name\":\"JassWeb\",\"description\":\"Build High-quality Websites\",\"publisher\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jassweb.com\/solved\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\",\"name\":\"Jass Web\",\"url\":\"https:\/\/jassweb.com\/solved\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png\",\"contentUrl\":\"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png\",\"width\":693,\"height\":132,\"caption\":\"Jass Web\"},\"image\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31\",\"name\":\"Kirat\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775798750\",\"contentUrl\":\"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775798750\",\"caption\":\"Kirat\"},\"sameAs\":[\"http:\/\/jassweb.com\"],\"url\":\"https:\/\/jassweb.com\/solved\/author\/jaspritsinghghumangmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Solved] How to make custom sizing for window with non-sizeable borders? - JassWeb","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jassweb.com\/solved\/solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders\/","og_locale":"en_US","og_type":"article","og_title":"[Solved] How to make custom sizing for window with non-sizeable borders? - JassWeb","og_description":"[ad_1] Here a customized form-class with implemented non-sizeable borders sizing and possibility to disable sizing for specified edges. Also it supports double clicks on borders to toggle between two rectangle-boundaries: AutoSizeRect to values of which form sides getting moved on dblclick and SavedSizeRect into which values form side coordinates saved before changing. So AutoSizeRect could ... Read more","og_url":"https:\/\/jassweb.com\/solved\/solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders\/","og_site_name":"JassWeb","article_published_time":"2022-09-30T07:42:21+00:00","author":"Kirat","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kirat","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jassweb.com\/solved\/solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders\/#article","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders\/"},"author":{"name":"Kirat","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31"},"headline":"[Solved] How to make custom sizing for window with non-sizeable borders?","datePublished":"2022-09-30T07:42:21+00:00","mainEntityOfPage":{"@id":"https:\/\/jassweb.com\/solved\/solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders\/"},"wordCount":161,"publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"keywords":["border","delphi","delphi-7","resize","windows"],"articleSection":["Solved"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/jassweb.com\/solved\/solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders\/","url":"https:\/\/jassweb.com\/solved\/solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders\/","name":"[Solved] How to make custom sizing for window with non-sizeable borders? - JassWeb","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/#website"},"datePublished":"2022-09-30T07:42:21+00:00","breadcrumb":{"@id":"https:\/\/jassweb.com\/solved\/solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jassweb.com\/solved\/solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jassweb.com\/solved\/solved-how-to-make-custom-sizing-for-window-with-non-sizeable-borders\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jassweb.com\/solved\/"},{"@type":"ListItem","position":2,"name":"[Solved] How to make custom sizing for window with non-sizeable borders?"}]},{"@type":"WebSite","@id":"https:\/\/jassweb.com\/solved\/#website","url":"https:\/\/jassweb.com\/solved\/","name":"JassWeb","description":"Build High-quality Websites","publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jassweb.com\/solved\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/jassweb.com\/solved\/#organization","name":"Jass Web","url":"https:\/\/jassweb.com\/solved\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/","url":"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png","contentUrl":"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png","width":693,"height":132,"caption":"Jass Web"},"image":{"@id":"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31","name":"Kirat","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/image\/","url":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775798750","contentUrl":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775798750","caption":"Kirat"},"sameAs":["http:\/\/jassweb.com"],"url":"https:\/\/jassweb.com\/solved\/author\/jaspritsinghghumangmail-com\/"}]}},"_links":{"self":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/12354","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/comments?post=12354"}],"version-history":[{"count":0,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/12354\/revisions"}],"wp:attachment":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/media?parent=12354"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/categories?post=12354"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/tags?post=12354"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}