hi friends i have following code to stop resizing windows form.
lStyle = GetWindowLong(Form1.hwnd, GWL_STYLE)
lStyle = lStyle And Not WS_THICKFRAME
Call SetWindowLong(Form1.hwnd, GWL_STYLE, lStyle)
i have a image on form as background. this code i ok, but the problem is when is when i click on the title bar of the form and then drag it , there is space automatically inserted between image and border
svbs 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.