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 3 4957
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.co m
"James" <co*********@ho tmail.com> wrote in message
news:fb******** *************** ***@posting.goo gle.com... 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
Hi James
see the following http://www.codeproject.com/useritems...Forms.asp#xxxx http://msdn.microsoft.com/library/de...lStudioNET.asp
Henk
"James" <co*********@ho tmail.com> wrote in message
news:fb******** *************** ***@posting.goo gle.com... 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
Thank you! This is exactly what I was looking for.
James
"Henk Verhoeven" <henk.verhoeven @_nospam_blueco d.net.nonospam> wrote in message news:<#W******* ******@TK2MSFTN GP12.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*********@ho tmail.com> wrote in message news:fb******** *************** ***@posting.goo gle.com... 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 great so far but I'm stuck on
displaying the propertys page of a task. Here's the code:
import pythoncom
import win32api
|
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 say, that the layer is drawn in
absolutely front off all frames?
Thanx for help - Tino
|
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 you scroll
down the vertical scroll bar.
So how do I make <th> tag always stay on
the window/frame. This is similar to spreadsheet
Excel, the scroll bars (vertical and horizontal)
will not effect the column headers.
|
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 able to resize the
frame also i am try using border-right-style and frameborder="1" it
work in firefox it show all border in IE and i want only right border
to show if
u have any idea then please mail me.
|
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?
| |
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.
I've experimented with this:
|
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 internet explorer when you click new window. hope that makes sense... i'd imagine it's simple to do, but im stuck. any help? much apprecited! i have the button... basically need a definition... new window frame.
|
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 assemblies and initialization is done in a seperate
thread from the UI, to keep the UI from being locked up.
Unfortuately 1 of the plug in assemblies provides a interface to a 3rd party
|
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!
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |