Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

Easy Challenge - Move And Resize Borderless Form

i saw many threads asking for it

[Image: 8c24d759b6587b6dd3d6c3b1fb07ca97.gif]

let see how simple u can do it

start point
[Image: 7Pgap0L.png]

^^ that simple

🙂
An example : http://pastebin.com/hvVuqKmN
RKYDA u can do it much simple
tip - google the challenge
Are you joking or laughing at our faces?
(Aug 11, 2014 07:10 AM)LordCoder Wrote:  Are you joking or laughing at our faces?

😁 i add for u start point let see u laughing 🤣
A way to resize a borderless form without code:
1. Remove Me.Text (Put "").
2. Change Me.ControlBox = False
3. Change Me.FormBorderStyle = Sizable

Done. Move code is easy to search on Google:
Code
Private dragging As Boolean = False
Private dragCursorPoint As Point
Private dragFormPoint As Point

Private Sub FormMain_MouseDown(sender As Object, e As MouseEventArgs)
    dragging = True
    dragCursorPoint = Cursor.Position
    dragFormPoint = Me.Location
End Sub

Private Sub FormMain_MouseMove(sender As Object, e As MouseEventArgs)
    If dragging Then
        Dim dif As Point = Point.Subtract(Cursor.Position, New Size(dragCursorPoint))
        Me.Location = Point.Add(dragFormPoint, New Size(dif))
    End If
End Sub

Private Sub FormMain_MouseUp(sender As Object, e As MouseEventArgs)
    dragging = False
End Sub
let me reply with ur own reply

(Aug 11, 2014 07:10 AM)LordCoder Wrote:  Are you joking or laughing at our faces?

ppl have hard time to understand simple things > YOU
also ur move code is longer then my move and resize code
(Aug 11, 2014 07:43 AM)Only3 Wrote:  let me reply with ur own reply
ppl have hard time to understand simple things > YOU
also ur move code is longer then my move and resize code

Nobody cares if it's longer or not, I think you don't understand. This thread is pointless and useless. Oh and btw:
Code
blahblahshit = False
also needs to be declared so your code is longer.
(Aug 11, 2014 10:00 AM)LordCoder Wrote:  Nobody cares if it's longer or not, I think you don't understand. This thread is pointless and useless. Oh and btw:
Code
blahblahshit = False
also needs to be declared so your code is longer.

How is it useless, ofcourse he could've just posted his way, but I'm kinda sure that people would've said 'Everyone knows this..' and things like that, while when he asks for it, nobody knows it. Anyway, you don't have to define something in order to set it as false?
I really really wish we had a moderator here that would just mute Only3. He's so useless to this section -.-
Come on man, stop it, will ya ? Don't you understand that this is NOT a challenge, you can find this on any beginner YouTube tutorial, any. If you are going to be doing challenges, do something a bit harder.
(Aug 11, 2014 06:37 PM)BubbleDoo Wrote:  How is it useless, ofcourse he could've just posted his way, but I'm kinda sure that people would've said 'Everyone knows this..' and things like that, while when he asks for it, nobody knows it.
3 answers were provided, we cannot guess what's his code.

(Aug 11, 2014 06:37 PM)BubbleDoo Wrote:  Anyway, you don't have to define something in order to set it as false?

Then what are you setting as False? The air? Think a bit before posting.
(Aug 11, 2014 07:16 PM)SIM-1456245 Wrote:  Come on man, stop it, will ya ? Don't you understand that this is NOT a challenge, you can find this on any beginner YouTube tutorial, any. If you are going to be doing challenges, do something a bit harder.

😁 haha u didnt post any code and the title EASY CHALLENGE 🤣
(Aug 12, 2014 03:51 AM)Only3 Wrote:  😁 haha u didnt post any code and the title EASY CHALLENGE 🤣

Why don't you do a hard challenge? Afraid you can do it your self?
(Aug 12, 2014 04:00 AM)Cornflower Blue இڿڰۣ-ڰۣ— Wrote:  Why don't you do a hard challenge? Afraid you can do it your self?

well no1 handle meidum and u want hard even simple u cant handle 😏


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by Lor‌dJul 7, 2020 12:52 PM 19 411 Jul 7, 2020 12:52 PM
Last Post: n0$f3ratu$
[C#] by KingSeaNov 22, 2018 11:58 AM 7 230 Nov 22, 2018 11:58 AM
Last Post: passwords
[.NET] by EffexionOct 21, 2017 05:57 AM 2 198 Oct 21, 2017 05:57 AM
Last Post: Effexion