Click here to Skip to main content
15,924,901 members
Home / Discussions / C#
   

C#

 
GeneralRe: Stripping Punctuation Pin
Nnamdi Onyeyiri31-Dec-02 5:41
Nnamdi Onyeyiri31-Dec-02 5:41 
GeneralRe: Stripping Punctuation Pin
David Stone31-Dec-02 6:10
sitebuilderDavid Stone31-Dec-02 6:10 
GeneralRe: Stripping Punctuation Pin
leppie1-Jan-03 6:04
leppie1-Jan-03 6:04 
GeneralRe: Stripping Punctuation Pin
David Stone1-Jan-03 6:12
sitebuilderDavid Stone1-Jan-03 6:12 
QuestionChange the title bar etc? Pin
anotherside200031-Dec-02 4:53
anotherside200031-Dec-02 4:53 
AnswerRe: Change the title bar etc? Pin
SHaroz31-Dec-02 6:46
SHaroz31-Dec-02 6:46 
AnswerRe: Change the title bar etc? Pin
Alex Korchemniy31-Dec-02 17:56
Alex Korchemniy31-Dec-02 17:56 
AnswerRe: Change the title bar etc? Pin
Stephane Rodriguez.31-Dec-02 23:08
Stephane Rodriguez.31-Dec-02 23:08 
anotherside2000 wrote:
I was wondering if it is possible to customize the title bar, buttons etc.

What about checking out the CodeProject articles about Balloon Windows with C# ?

When you know a Form is mostly an oriented-object event-based class running on top of a standard WIN32 Window, you can figure out that this is possible.

The form is created with hardcoded window styles (managed by an hardcoded default .NET System.Windows.Forms.CreateParams instance). But, once that form is created (this.Handle!=0), you could just start hacking the underlying window just like with C/C++ code. For that purpose, use P/Invoke unsafe native methods like SetWindowStyle, ...
You'll need the hwnd of that window : that's this.Handle (cast the returned IntPtr to an int if you like).

Be also sure to Hide the SizeGrip (drawn around the window) with a simple this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;

Good luck!
AnswerRe: Change the title bar etc? Pin
anotherside20002-Jan-03 4:12
anotherside20002-Jan-03 4:12 
GeneralFreeze Pin
fredza31-Dec-02 2:36
fredza31-Dec-02 2:36 
GeneralRe: Freeze Pin
Richard Deeming2-Jan-03 1:59
mveRichard Deeming2-Jan-03 1:59 
GeneralCOM Interop (still confused) Pin
Adrian Hall30-Dec-02 21:03
Adrian Hall30-Dec-02 21:03 
GeneralSerialization problem Pin
Anonymous30-Dec-02 13:54
Anonymous30-Dec-02 13:54 
GeneralRe: Serialization problem Pin
Rob Graham30-Dec-02 14:03
Rob Graham30-Dec-02 14:03 
GeneralC# Problem Pin
sheppam30-Dec-02 13:10
sheppam30-Dec-02 13:10 
GeneralRe: C# Problem Pin
Anonymous30-Dec-02 15:09
Anonymous30-Dec-02 15:09 
GeneralRe: C# Problem Pin
sheppam31-Dec-02 5:49
sheppam31-Dec-02 5:49 
Generalscreen resolution Pin
SHaroz30-Dec-02 13:00
SHaroz30-Dec-02 13:00 
GeneralRe: screen resolution Pin
Rob Graham30-Dec-02 16:37
Rob Graham30-Dec-02 16:37 
GeneralRe: screen resolution Pin
SHaroz31-Dec-02 6:50
SHaroz31-Dec-02 6:50 
GeneralLooking for some advice... Pin
MStanbrook30-Dec-02 10:12
MStanbrook30-Dec-02 10:12 
GeneralRe: Looking for some advice... Pin
Stephane Rodriguez.30-Dec-02 10:20
Stephane Rodriguez.30-Dec-02 10:20 
General[URGENT, Posted Again] RTL PrintDocument Pin
Jassim Rahma30-Dec-02 10:05
Jassim Rahma30-Dec-02 10:05 
GeneralIcons in Installer (driving me nuts) Pin
Adrian Hall30-Dec-02 9:51
Adrian Hall30-Dec-02 9:51 
GeneralRe: Icons in Installer (driving me nuts) Pin
James T. Johnson30-Dec-02 9:59
James T. Johnson30-Dec-02 9:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.