Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
|
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 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 September 30th, 2004, 12:32 AM
Authorized User
 
Join Date: Jun 2003
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default Rectangle.Contains Method - In NonClient Area

Hello guyz, am using VB.Net en at the moment am trying something like an alternative to Minimize en Maximize buttons in caption/ title bar.

I have traped the WM_NCLBUTTONDOWN en taken the point of the Mouse click. I wish to use a rectangle drawn on the NonClient Area of the form (Caption/Title bar) as an alternative button to Max en Min button.

MY PROBLEM:: It looks like i cant use the PointToClient function on Nonclient area. How would i go about it?

Observation:: I have tried the same thing on the client area en it works fine.

Am begging for an idea. thank you!!

LION OF JUDDAH!
__________________
LION OF JUDDAH!





Similar Threads
Thread Thread Starter Forum Replies Last Post
client Rectangle angelboy C# 2005 0 July 27th, 2007 08:13 AM
highlighting a rectangle area galatea C# 2 February 10th, 2005 06:20 AM
How to Increase the NonClient Area of a form chiefouko Pro VB.NET 2002/2003 0 October 6th, 2004 06:03 AM
how to compare if two rectangle redundant davidwong C++ Programming 11 August 23rd, 2004 11:41 AM
Dragging a rectangle Dhodie Pro VB 6 0 February 20th, 2004 04:45 AM





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