Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 6th, 2007, 06:19 PM
Friend of Wrox
 
Join Date: Jun 2005
Posts: 244
Thanks: 3
Thanked 4 Times in 4 Posts
Default Moving Forms

I have a form without the Title Bar so i cant move the form anymore. So how can u move the form by clickin on an image.


------------------------------------------------
Apocolypse2005
Always ready and waiting to be helped!
__________________
Apocolypse2005, I'm a programmer - of sorts.
 
Old May 7th, 2007, 11:40 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

in your Image mouseDown event, call SendMessage passin WM_NCLBUTTONDOWN as parameter. example here:

http://support.microsoft.com/kb/173773

"There are two ways to write error-free programs. Only the third one works."
Unknown





Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving Tags stefan.yu XSLT 1 February 22nd, 2006 03:44 PM
moving a column p_gauri7 Crystal Reports 6 December 20th, 2004 03:27 PM
Moving through a Recordset KeithHungate Access VBA 2 April 12th, 2004 08:47 PM
Moving Data stu9820 ASP.NET 1.0 and 1.1 Basics 1 February 17th, 2004 01:58 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.