473,378 Members | 1,426 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,378 software developers and data experts.

How to create small windows?

I'm currently trying to create an application with a very small window, 32 by 32 pixels to be exact. However, I can't seem to make windows smaller than 112 by 27 pixels, even though I make them borderless. Does anyone know why this is the case

If it is not possible to make the window smaller, does anyone know how to paint a panel control directly on the desktop, or on top of another window

Tx

//ecgn
Nov 15 '05 #1
2 1633
See the attached code...

--
Bela Istok
MVP C#
Caracas, Venezuela
"Erik Cedergren (ecgn)" <an*******@discussions.microsoft.com> wrote in message news:73**********************************@microsof t.com...
I'm currently trying to create an application with a very small window, 32 by 32 pixels to be exact. However, I can't seem to make windows smaller than 112 by 27 pixels, even though I make them borderless. Does anyone know why this is the case?

If it is not possible to make the window smaller, does anyone know how to paint a panel control directly on the desktop, or on top of another window?

Tx!

//ecgn
Nov 15 '05 #2
Thanks Bela

So, the trick was to set both minimum and maximum sizes to the desired window dimension, instead of leaving at default 0 by 0. Still, I find it a bit annoying that having 0 by 0 as the minimum makes it impossible to create 32 by 32. Weird

Tx again

//ecg

Nov 15 '05 #3

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

Similar topics

9
by: Lauren Quantrell | last post by:
Is there a way to create a text file (such as a Windows Notepad file) by using a trigger on a table? What I want to do is to send a row of information to a table where the table: tblFileData has...
7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
3
by: Huw Davies | last post by:
I have created a split MDB that was intended for use on a single PC.The user has asked for it now to be setup as a multi-user (without security) system. I have placed the "application" mdb on...
1
by: TM | last post by:
I am trying to create an asp.net web application in Visual Studio.Net 2003 and when I try to create it on my windows 2003 server, I get this error "The web server reported the following error when...
2
by: Jean-Claude Bertrand | last post by:
Hello to all .Net programmers! I am a consultant and I create very small application for small enterprise. Most of the time in my application, the number of users is under 5! I still program...
4
by: Doug Bell | last post by:
Hi, I have a small application with a User Settings form I would like to give the Users the ability to (at any time) set the Application to load when the PC is started. Can someone point me in...
4
by: Paul | last post by:
Hi, I am developing a c# windows .NET application. The application is going to run on a standalone PC and use an access database. I have figured out that I will need to create a project and add it...
1
by: =?Utf-8?B?VG9jbw==?= | last post by:
Hello. I try to create new web service application on local machine, but cannot advance to solution menu after i click create, in the menu. the ide hangs and does not respond to mouse clicks. ...
0
by: yrogirg | last post by:
Actually, I need utf-8 to utf-8 encoding which would change the text to another keyboard layout (e.g. from english to russian ghbdtn -> привет) and would not affect other symbols. I`m totally...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.