Hello team, am the fan of you guys, every video's is interesting and design is awesome,. Thanks.
@semosemo38274 жыл бұрын
private const int cGrip = 16; private const int cCaption = 32; protected override void WndProc(ref Message m) { if (m.Msg == 0x84) { Point pos = new Point(m.LParam.ToInt32()); pos = this.PointToClient(pos); if (pos.Y < cCaption) { m.Result = (IntPtr)2; return; } if (pos.X >= this.ClientSize.Width - cGrip && pos.Y >= this.ClientSize.Height - cGrip) { m.Result = (IntPtr)17; return; } } base.WndProc(ref m); }
@leobarbosa1737 жыл бұрын
I'm from Brazil, Rio de Janeiro, I really enjoy these tutorials :):):)
@Hamiscool3 жыл бұрын
When I resize my form, none of the content inside it changes size; just position. Any ideas? Nevermind, I just figured out that if you change the anchor of all of the content to "Top, Bottom, Left, Right" it works.
@ralphipeyrna69896 жыл бұрын
i need it but with ismdicontainer active in the form, is this possible?
@darius81716 жыл бұрын
Hey, thank you for tutorial. But could you tell how to resize windows until some specific size? For example: resize it till width=500 and height=700 (Try to resize Skype. It allows you to resize until specific size)
@CUiAcademy6 жыл бұрын
Hi @Darius... Thanks for watching my Videos.... Select your form and go to properties and here you'll find "Max Size" and "Min Size" property.... just put the minimum or maximum size according to your Requirement...... :) :)
@darius81716 жыл бұрын
Thank you!
@LucifiedPower3 жыл бұрын
@@darius8171 can you give me the code
@neilluck17592 жыл бұрын
I hover my mouse over the form edges, but when I click, the edge doesn't grab and resize. Is there a fix for this?
@roul36885 жыл бұрын
You are the man/woman! Thanks for this!
@CUiAcademy5 жыл бұрын
Man... :) :)
@squad-failure4 жыл бұрын
I cannot implement this into my program, i don't know why isn't working, not throwing any errors but doesn't let it's self resize, and i did everything right from the tutorial... I removed my old code and tried with a brand new one, still not working...
@НиколайТорощин-е6э6 жыл бұрын
Спасибо большое, за ваши видео уроки!))
@CUiAcademy6 жыл бұрын
Спасибо, что посмотрели мои видео. :) :)
@leftofzen5 жыл бұрын
Yeah...try and resize the form via the top of the window using this technique. Goodluck ;) (It's possible but requires some more trickery than presented in this video)
@essouaiedameur76424 жыл бұрын
how can I add the bunifu package to my VS2019
@zayantorres45235 жыл бұрын
Hi, idk if you will answer but how can I like, not resize it, but make drag Form1 around with the FormBorderStyle in **None**? with the mouse
@CUiAcademy5 жыл бұрын
Hi Z-Man... Pleaee watch my this video to learn how to create your own drag control in C# kzbin.info/www/bejne/iYm9f2xrpbqSqZI
@TesearBlogspot4 жыл бұрын
Why isn't working if the panel is dock=fill
@seikosantana2313 Жыл бұрын
Nice! Can it maximize when being pulled to top of desktop?
@vac4165 жыл бұрын
Почему когда я ввожу в toolbox "drag", то у меня нет результатов?
@heko91224 жыл бұрын
how to resize when a panel or control with Dock = Fill on the form?
@AaricAaiden6 жыл бұрын
If you make the video on how to create a responsive application. it would be great. I want to create a responsive application in c# just like other softwares are responsive but i couldn't. i have watched many tutorials on KZbin but nothing worked exactly same as i want.
@jhwils5 жыл бұрын
The Link for source code is dead😰
@CUiAcademy5 жыл бұрын
Please download it from my github profile.... Link is given in the description of my other videos...
@matejpesl14 жыл бұрын
@@CUiAcademy You don't have the project on your github profile.
@ayushpramanik8083 жыл бұрын
How do we make the window bigger?, we can only make the window smaller
@technologyknowledge50042 жыл бұрын
Hello sir please make a video on "how to drag and resize borderless winform in powershell studio"
@technologyknowledge50042 жыл бұрын
Please Sir
@ezequiasrocha30375 жыл бұрын
The download isn't available anymore.
@xheptc96125 жыл бұрын
We create, We Design, We develop.
@xheptc96125 жыл бұрын
@- Vrex - lol
@zeeshanmushtaq70392 жыл бұрын
if (pos.X >= this.ClientSize.Width = cGrap && pos.Y >= this.ClientSize.Height = cGrip) in this if condition .... error ata ha error : The left-hand side of an assignment must be a variable, property or indexer please help
@CUiAcademy2 жыл бұрын
ClientSize.Width - cGrip and Height - cGrip. Its minus there after width and height, not equal sign. I hope it will fix your problem.. 🙂
@nesyta17496 жыл бұрын
How can you do that so that you can move these windows to MDIParent?
@lephonghaiful5 жыл бұрын
link dowload is dead, please refresh it.
@wakcy4 жыл бұрын
private const int cGrip = 16; private const int cCaption = 32; protected override void WndProc(ref Message m) { if (m.Msg == 0x84) { Point pos = new Point(m.LParam.ToInt32()); pos = this.PointToClient(pos); if (pos.Y < cCaption) { m.Result = (IntPtr)2; return; } if (pos.X >= this.ClientSize.Width - cGrip && pos.Y >= this.ClientSize.Height - cGrip) { m.Result = (IntPtr)17; return; } }
@mohammadahsan56553 жыл бұрын
Form is not resizing, whats the problem ?
@CUiAcademy3 жыл бұрын
Please make sure you've added the line of code in the constructor of form i-e this.SetStyle(....
@mohammadahsan56553 жыл бұрын
@@CUiAcademy Yes I have added. I am trying this from at least 2 days, mid and night. But its not working. I have watched many videos and copy paste the google code but no relief. Please can you share this form code in complete working condition. ????
@CUiAcademy3 жыл бұрын
@@mohammadahsan5655 please share you piece of code to salaarhusyn@gmail.com I will review it
@mohammadahsan56553 жыл бұрын
@@CUiAcademy I am sharing the complete form
@mohammadahsan56553 жыл бұрын
@@CUiAcademy I have send you the form by mohammadahsanissb.pk.2020@gmail.com Please resolve the issue.
@TERIHAX4 жыл бұрын
it's not working for me.
@marcelo21087 жыл бұрын
Why are u using vs2015?
@CUiAcademy7 жыл бұрын
Hi Marcelo L.Ponce F.... There is no specific reason for using VS2015.... I am using this because the community edition was available for free download and it is pretty light weight as compared to VS2017, it works fine.... ;)
@marcelo21087 жыл бұрын
ohh! fine data about weight, thanks!
@mariokiric6 жыл бұрын
Very helpful tutorial! But my problem is, how I resize border-less Winforms in VB (Visual Basic) and not in C#, because there is no tutorial, how to do it :( Greetings from Germany!
@brazo986 жыл бұрын
Const WM_NCHITTEST As Integer = &H84 Const HTCLIENT As Integer = &H1 Const HTCAPTION As Integer = &H2 Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message) Select Case m.Msg Case WM_NCHITTEST MyBase.WndProc(m) If m.Result = HTCLIENT Then m.Result = HTCAPTION Case Else MyBase.WndProc(m) End Select End Sub LG aus BRD
@brazo986 жыл бұрын
Und er hat die DLL mit eingefügt heisst Bunidragcontrol. Da fallen dann Lizenzgebühren an wenn das nutzen willst.
@mariokiric6 жыл бұрын
Brazo Ok, Vielen Vielen Dank! :D Wie sollte es dann aussehen ohne der DLL? Bin kompletter Anfänger ;)
@brazo986 жыл бұрын
Hier wirst du fündig das funktioniert tadellos: www.vbforums.com/showthread.php?568015-Move-and-Resize-a-Control-or-a-Borderless-Form-using-window-messages-(smooth!)
@mariokiric6 жыл бұрын
Brazo Danke ;)
@ethanhill20165 жыл бұрын
I am able to resize it but my content is not affected, how do i make it so the content is pushed?
@CUiAcademy5 жыл бұрын
Select your controls, go to properties and set Anchor property to None.. I hope it will work for you... :)
@ethanhill20165 жыл бұрын
C# Ui Academy ok I have done that but now my label over laps my head panel after I resize it too small
@CUiAcademy5 жыл бұрын
@@ethanhill2016 Select your form, go to properties and set a Minimum Size for your Form.
@MuhammadAslam-vb3se6 жыл бұрын
Sir how can i make winform drag able with box. without bunifu
@CUiAcademy6 жыл бұрын
Please watch my this video to learn how to create a drag Control in C#... kzbin.info/www/bejne/iYm9f2xrpbqSqZI
@abdalahali67465 жыл бұрын
link to download source code dosent work plz any one have downloaded it send here thank you
@softmetric61404 жыл бұрын
Designing is ok, but we want the back-end. Because we want to develop more beautiful + functional applications.
@smsoorganization2926 жыл бұрын
hey i like your tutorials thank you and Jazakalahu khayr
@pedrohenriwue63277 жыл бұрын
must have Buniffu?
@CUiAcademy7 жыл бұрын
No, if you don't have the Bunifu file just remove the header panel from Ui and add this event method after Constructor, protected override void OnPaint(PaintEventArgs e) { Rectangle rc = new Rectangle(this.ClientSize.Width - cGrip, this.ClientSize.Height - cGrip, cGrip, cGrip); ControlPaint.DrawSizeGrip(e.Graphics, this.BackColor, rc); rc = new Rectangle(0, 0, this.ClientSize.Width, cCaption); e.Graphics.FillRectangle(Brushes.DarkBlue, rc); }
@pedrohenriwue63277 жыл бұрын
Thanks
@aylakhan46997 жыл бұрын
i like your all tutorials very much .i also share this video's with my friends this is really very very best tutorial and also good work brother ..
@brazo986 жыл бұрын
perfect thx a lot kindly regards
@warmice82654 жыл бұрын
Can I resize the form without using Bunifu ? Thanks. P.S. : Great video !!!
@z0rd.1545 жыл бұрын
Можете дать ссылку на вашу программу на гитхабе? не как не могу найти :(
@SeekersforSeekers5 жыл бұрын
i watched ur first video..this one and subscribe ur channel..
@CUiAcademy5 жыл бұрын
Stay Tuned for More Videos.. :) :)
@SeekersforSeekers5 жыл бұрын
@@CUiAcademy definitely i will be
@ユンユン-b8y3 жыл бұрын
I comment here to let you know that one more Vietnamese person knows you :v.
@AbsolutelyFake5 жыл бұрын
Did not work
@keaan52844 жыл бұрын
Hello my teacher it is tool free?
@ZEkA100004 ай бұрын
Okay, to use that thing you need to buy that...
@VlcAlexx4 жыл бұрын
Not working
@manjeetnandal15 жыл бұрын
But lack of source codes! Anyway, great sharing! Great thanks!
@carlmarionmanlapaz46975 жыл бұрын
very informative. subscribed.
@TheAceAdventures35 жыл бұрын
Perfect ! Thanks Dude ! From 2019
@imamhossain18185 жыл бұрын
Thank you sir
@enessolmaz95484 жыл бұрын
Thanks bro 😊❤️
@hiddenhidden63404 жыл бұрын
Hi sir please consider to prepare your designs first and then make a tutorial, Your half video is an advertisement.
@kyrollosemad53195 жыл бұрын
can you mae a tutorial in vb.net please
@Thepostroun4 жыл бұрын
nice
@mnlfrk7 жыл бұрын
Fantastic
@FanmadesMv5 жыл бұрын
Magic number shit form stack overflow... not really what i was searching for but thanks anyway