Tombol Resize pada Form di Disable sehingga Form tersebut tidak bisa di Resize.
Buat 1 Project dengan :
1 Form
Copy source code berikut pada Form :
PrivateConstGWL_STYLE = (-16)PrivateConstWS_THICKFRAME = &H40000PrivateDeclareFunctionSetWindowLongLib"user32"Alias"SetWindowLongA"_(ByValhwndAsLong,ByValnIndexAsLong, _ByValdwNewLongAsLong)AsLongPrivateDeclareFunctionGetWindowLongLib"user32"Alias"GetWindowLongA"_(ByValhwndAsLong,ByValnIndexAsLong)AsLongPrivateSubForm_Load()DimlStyleAsLonglStyle = GetWindowLong(Me.hwnd, GWL_STYLE)lStyle = lStyleAndNotWS_THICKFRAMECallSetWindowLong(Me.hwnd, GWL_STYLE, lStyle)EndSub
Suka Dengan Artikel Ini ?
Anda baru saja membaca artikel yang berkategori Pendidikan /
Visual Basic 6.0
dengan judul "Membuat Form Agar Tidak Bisa Di Resize Pada Visual Basic 6.0". Anda bisa bookmark halaman ini dengan URL https://blog17lamers.blogspot.com/2013/04/membuat-form-agar-tidak-bisa-di-resize.html.
