473,386 Members | 1,679 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Native resizing with custom forms

I have a custom form, with all borders, title bar, etc. being drawn
internally. Native borders and so on have been disabled. Because of this,
however, resizing is a bit of a problem, and generally looks quite messy.

Was hoping that I could use the grey border/outline method (ie by not
actually resizing the window) by calling SendMessage with WM_ENTERSIZEMOVE,
but that doesn't seem to work. I'm kind of new to this Windows API stuff,
so if anyone could point me in the right direction...

TIA,

Andrew Hayward
Nov 20 '05 #1
1 1069
* cs***@bath.ac.uk (Andrew Hayward) scripsit:
I have a custom form, with all borders, title bar, etc. being drawn
internally. Native borders and so on have been disabled. Because of this,
however, resizing is a bit of a problem, and generally looks quite messy.


If you do not get an answer here, give the Windows Forms group a try:
microsoft.public.dotnet.framework.windowsforms.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Chris | last post by:
Hi, In design mode I built some windows with some controls (e.g. listboxes, labels, chgeck boxes etc.) in it, and I did set the property for the window size is set to normal. Now, when I run...
1
by: mehdi_mousavi | last post by:
Hi, I've written a custom user control, say, MyControl that's being derived from System.Windows.Forms.UserControl. The problem is that I need the control to be fixed size; i.e., I donot want the...
3
by: curtis.barrett | last post by:
Hi I am trying to convert some forms of mine from a 1024 X 768 size to a 800 X 600 size and everything works fine except for the buttons. I need to scale the images on the button but I can't...
11
by: Sharon | last post by:
I'm writing a new control derived from UserControl. I need to get an event when the control is done resizing. I tried the Resize, SizeChanged, Move and the Layout events and I also tried to...
0
by: Sam Barham | last post by:
I have a ListView control, for which I have overwritten the WndProc method to gain access to the WM_PAINT message and generate my own OnPaint and OnPaintBackground messages, in order to colour the...
2
by: Nina | last post by:
Hi there, I've tried everything that I know to prevent usre resizing datagrid columns, but nothing works. Following are the code that I used. Please tell me what's wrong with them. Thank you....
0
by: beluga | last post by:
Hi, I have an application written in C# which will use some custom libraries written in native C++. To bridge between the C# application layer and the native C++ library side, I created an IJW...
2
by: Simon Verona | last post by:
I have a few hundred forms in my application. All are based on a custom base form class. I decided that I wanted to globally change the look and feel of many of the controls in my application -...
4
by: Simon Harvey | last post by:
Hi everyone, I have a windows form application that looks a little bit like outlook in that it has a menu system on the left and then the main area to the right has a horizontal splitter thing...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.