473,503 Members | 2,120 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to create a customized window frame border? Possible?

Does anyone know if it is possible, in C#, to use a customized window
frame?

For example, programs like Winamp and AdAware do not use the standard
box window frame, but a customized design.

I'm guessing that this is a bitmap that is somehow applied with an API
call?

Thanks!
Jaime
Nov 16 '05 #1
3 4940
Jamie,

Winamp and AdAware use custom painting to do this. Look at the
WM_NCPAINT message. It is sent to windows to indicate that the frame
painting should occur. To handle this message, you would override the
WndProc method on your form to handle this message, and perform the painting
yourself.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"James" <co*********@hotmail.com> wrote in message
news:fb**************************@posting.google.c om...
Does anyone know if it is possible, in C#, to use a customized window
frame?

For example, programs like Winamp and AdAware do not use the standard
box window frame, but a customized design.

I'm guessing that this is a bitmap that is somehow applied with an API
call?

Thanks!
Jaime

Nov 16 '05 #2
Hi James

see the following

http://www.codeproject.com/useritems...Forms.asp#xxxx

http://msdn.microsoft.com/library/de...lStudioNET.asp

Henk

"James" <co*********@hotmail.com> wrote in message
news:fb**************************@posting.google.c om...
Does anyone know if it is possible, in C#, to use a customized window
frame?

For example, programs like Winamp and AdAware do not use the standard
box window frame, but a customized design.

I'm guessing that this is a bitmap that is somehow applied with an API
call?

Thanks!
Jaime

Nov 16 '05 #3
Thank you! This is exactly what I was looking for.

James
"Henk Verhoeven" <henk.verhoeven@_nospam_bluecod.net.nonospam> wrote in message news:<#W*************@TK2MSFTNGP12.phx.gbl>...
Hi James

see the following

http://www.codeproject.com/useritems...Forms.asp#xxxx

http://msdn.microsoft.com/library/de...lStudioNET.asp

Henk

"James" <co*********@hotmail.com> wrote in message
news:fb**************************@posting.google.c om...
Does anyone know if it is possible, in C#, to use a customized window
frame?

For example, programs like Winamp and AdAware do not use the standard
box window frame, but a customized design.

I'm guessing that this is a bitmap that is somehow applied with an API
call?

Thanks!
Jaime

Nov 16 '05 #4

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

Similar topics

1
4232
by: Fadly Tabrani | last post by:
Hi guys, This is the first time I'm posting to the newsgroup, hope you can help out. I'm writing a module to interface with the task scheduler in windows using PyWin32. Everything has been...
2
4926
by: Tino Langer | last post by:
Hello, I try to draw a layer (a div-area) in a frame - everything is right. But if the frame is to small to draw the whole layer, the layer is cutted off at the frame border. Is it possible to...
2
2655
by: RC | last post by:
When you have a large table, you have to scroll the vertical and/or horizontal scroll bar(s) to read the table contents <td> tag. But the problem is you can't see the column header <th> tag when...
0
1886
by: hari24patil | last post by:
Hi , I am not geting frame border in firefox i want only right border of frame to be show and all other border are hidden it work in IE but in firefox it not show border and due to that i am not...
3
5755
by: Christopera | last post by:
is there a general rule i can use in my css like .frame {border: 0px;} or how can i do this?
1
2616
by: Leoa | last post by:
Hi There, I made a popup window with createpopup(). The window has a frame border around it that is grey. I can't seem to find the code that would not allow the frame of the popup to show. ...
1
5535
by: bushticals | last post by:
i'm new to python... im making a GUI for an image information editing program that i am doing for school. i have a button in my menu bar that i want to open a new window (same GUI) just like in...
0
1345
by: =?Utf-8?B?QmFydE1hbg==?= | last post by:
Greetings, To begin with we have an archetecture which has a manager Asssembly which loads "Plug-in" assemblies using reflection, when a the UI prompts the manager. This loading of the...
1
1262
by: =?Utf-8?B?TW9ydGVuIFdlbm5ldmlrIFtDIyBNVlBd?= | last post by:
"Eric B." wrote: Hi Eric, The window frame is hidden by setting the FormBorderStyle property to FormBorderStyle.None -- Happy Coding!
0
7091
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6998
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7464
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5586
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4680
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3171
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3162
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1516
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
741
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.