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

Adding buttons to the form's title bar

Hi all,

Is there any .NET way (I am not rulling out API usage) to add button(s) to a
form's title bar?

I found some non-.NET solutions that did actually work in VB6 but not in the
..NET forms...

I tried painting, but the paintaing area provided by the form is only the
client area - no visible way to paint on the title bar.

Since my application is MDI parent and children (even though i would love a
generic solution), I also tried something silly that worked: adding a button
member to the form (actually a derived class of form), and in the
constructor, adding it to the MDIParent.Controls property. after doing so,
all that is left is controling the button's position accurding to the form
position and size. since the button is located on the MDIParent it has a
"Z-Order" which is higher than the form, and therefor drawn on top of it.
Only two problems with that: I had to hide the buttons of un-focused forms
because otherwise they all appear on top of every other element. the second
problem was drawing the button when minimized (no focus when moving a
minimized mdi child form - thus, unable to determine if to show or hide the
button) and drawing the button when maximized - this seems all and all
impossible to do - no way to place even that "super-button" on top of the
maximized title bar.

any help would be great,

Picho.
Jul 21 '05 #1
16 3136
here's my solution.... I think it does everything you
described in your posting but one thing... If the user
changes the skin... your app will still show the normal
title bar. If this is okay... read on.

This idea can be wrapped up in a new form class so that
you can use it for the MDI or MDIChild forms.

1) create a normal form in the designer
2) remove its Maximize, minimize, controlBox and title
text. This will result in a form without a titlebar.
3) set its border style to sizeable.
4) add 2 picture boxes; pbtitlebar and pbIcon
5) set the dock property of the pbtitlebar to "top".
6) set the image property of the pbtitlebar to a bitmap
of the solid part of the title bar of a typical window.
7) make sure that the height of pbtitlebar is exactly the
same as the bitmap. Set the SizeMode to StretchImage
(this will cause some pixelation.. to avoid that you can
create a very long title bar for the largest screen you
can imagine... alternatively set the SizeMode to
StrechImage if the width of the pbtitlebar get longer
that 21 inch or whatever).
8) set the image of the pbicon to your application icon
and locate it in the upper left corner of the window.
Make sure to "Bring" it "to front";
9) run your program and resize the form... it clearly
behaves as though you have a title bar with an icon ,
but no text or minimum/maximum/close button.
10) create your buttons and position them on the
new "Title bar";
11) in the paint event of the pbTitleBar, write
instructions to locate the buttons programatically
correctly... i.e.

this.btnClose.left = pbtitlebar.right -
this.btnClose.width - 5;
this.btnMax.left = this.btnClose.left -
this.btnMax.width - 5;
etc;

12) add the button click handlers
13) After the click for each button make sure that the
focus is transferred to a control on the form.
14) you can simulate the active/inactive windows by
changing the image of the picture boxes (dark blue for
active and faint blue for inactive.
15) you can also program the drag event of the pbtitlebar
to help moving the windows around on the screen.
16) you can get the window's title written to the
pbTitleBar by something like this:

private void ShowTitle()
{
System.Drawing.Graphics g =
this.pbTitleBar.CreateGraphics();
System.Drawing.Font font = new System.Drawing.Font
("Times New Roman", 12);
System.Drawing.PointF pos = new System.Drawing.PointF
(this.pictureBox2.Width + 5, this.pictureBox2.Top );
System.Drawing.Brush brush = new
System.Drawing.SolidBrush(System.Drawing.Color.Whi te);

g.DrawString ("windows title", font, brush, pos);

}

You need to call ShowTitle in the form_paint and
pbTitleBar_Paint.

let me know if you have any problems with this.

good luck
Nasser.

-----Original Message-----
Hi all,

Is there any .NET way (I am not rulling out API usage) to add button(s) to aform's title bar?

I found some non-.NET solutions that did actually work in VB6 but not in the..NET forms...

I tried painting, but the paintaing area provided by the form is only theclient area - no visible way to paint on the title bar.

Since my application is MDI parent and children (even though i would love ageneric solution), I also tried something silly that worked: adding a buttonmember to the form (actually a derived class of form), and in theconstructor, adding it to the MDIParent.Controls property. after doing so,all that is left is controling the button's position accurding to the formposition and size. since the button is located on the MDIParent it has a"Z-Order" which is higher than the form, and therefor drawn on top of it.Only two problems with that: I had to hide the buttons of un-focused formsbecause otherwise they all appear on top of every other element. the secondproblem was drawing the button when minimized (no focus when moving aminimized mdi child form - thus, unable to determine if to show or hide thebutton) and drawing the button when maximized - this seems all and allimpossible to do - no way to place even that "super- button" on top of themaximized title bar.

any help would be great,

Picho.
.

Jul 21 '05 #2
After posting, I realized that the skin is not the major
problem. Positioning the menu just under the "Title bar"
seems to be a more difficult problem to which I have no
solution. This is because a "main Menu" is NOT a
control!!

sorry!

Nasser

-----Original Message-----
here's my solution.... I think it does everything you
described in your posting but one thing... If the user
changes the skin... your app will still show the normal
title bar. If this is okay... read on.

This idea can be wrapped up in a new form class so that
you can use it for the MDI or MDIChild forms.

1) create a normal form in the designer
2) remove its Maximize, minimize, controlBox and title
text. This will result in a form without a titlebar.
3) set its border style to sizeable.
4) add 2 picture boxes; pbtitlebar and pbIcon
5) set the dock property of the pbtitlebar to "top".
6) set the image property of the pbtitlebar to a bitmap
of the solid part of the title bar of a typical window.
7) make sure that the height of pbtitlebar is exactly thesame as the bitmap. Set the SizeMode to StretchImage
(this will cause some pixelation.. to avoid that you can
create a very long title bar for the largest screen you
can imagine... alternatively set the SizeMode to
StrechImage if the width of the pbtitlebar get longer
that 21 inch or whatever).
8) set the image of the pbicon to your application icon
and locate it in the upper left corner of the window.
Make sure to "Bring" it "to front";
9) run your program and resize the form... it clearly
behaves as though you have a title bar with an icon ,
but no text or minimum/maximum/close button.
10) create your buttons and position them on the
new "Title bar";
11) in the paint event of the pbTitleBar, write
instructions to locate the buttons programatically
correctly... i.e.

this.btnClose.left = pbtitlebar.right -
this.btnClose.width - 5;
this.btnMax.left = this.btnClose.left -
this.btnMax.width - 5;
etc;

12) add the button click handlers
13) After the click for each button make sure that the
focus is transferred to a control on the form.
14) you can simulate the active/inactive windows by
changing the image of the picture boxes (dark blue for
active and faint blue for inactive.
15) you can also program the drag event of the pbtitlebarto help moving the windows around on the screen.
16) you can get the window's title written to the
pbTitleBar by something like this:

private void ShowTitle()
{
System.Drawing.Graphics g =
this.pbTitleBar.CreateGraphics();
System.Drawing.Font font = new System.Drawing.Font
("Times New Roman", 12);
System.Drawing.PointF pos = new System.Drawing.PointF
(this.pictureBox2.Width + 5, this.pictureBox2.Top );
System.Drawing.Brush brush = new
System.Drawing.SolidBrush(System.Drawing.Color.Wh ite);

g.DrawString ("windows title", font, brush, pos);

}

You need to call ShowTitle in the form_paint and
pbTitleBar_Paint.

let me know if you have any problems with this.

good luck
Nasser.

-----Original Message-----
Hi all,

Is there any .NET way (I am not rulling out API usage)to add button(s) to a
form's title bar?

I found some non-.NET solutions that did actually work

in VB6 but not in the
..NET forms...

I tried painting, but the paintaing area provided by

theform is only the
client area - no visible way to paint on the title bar.

Since my application is MDI parent and children (even

though i would love a
generic solution), I also tried something silly that

worked: adding a button
member to the form (actually a derived class of form),

and in the
constructor, adding it to the MDIParent.Controls

property. after doing so,
all that is left is controling the button's position

accurding to the form
position and size. since the button is located on the

MDIParent it has a
"Z-Order" which is higher than the form, and therefor

drawn on top of it.
Only two problems with that: I had to hide the buttons

of un-focused forms
because otherwise they all appear on top of every other

element. the second
problem was drawing the button when minimized (no focus

when moving a
minimized mdi child form - thus, unable to determine if

to show or hide the
button) and drawing the button when maximized - this

seems all and all
impossible to do - no way to place even that "super-

button" on top of the
maximized title bar.

any help would be great,

Picho.
.

.

Jul 21 '05 #3
Thanx anyway!!
Nasser" <an*******@discussions.microsoft.com> wrote in message
news:01****************************@phx.gbl...
After posting, I realized that the skin is not the major
problem. Positioning the menu just under the "Title bar"
seems to be a more difficult problem to which I have no
solution. This is because a "main Menu" is NOT a
control!!

sorry!

Nasser

-----Original Message-----
here's my solution.... I think it does everything you
described in your posting but one thing... If the user
changes the skin... your app will still show the normal
title bar. If this is okay... read on.

This idea can be wrapped up in a new form class so that
you can use it for the MDI or MDIChild forms.

1) create a normal form in the designer
2) remove its Maximize, minimize, controlBox and title
text. This will result in a form without a titlebar.
3) set its border style to sizeable.
4) add 2 picture boxes; pbtitlebar and pbIcon
5) set the dock property of the pbtitlebar to "top".
6) set the image property of the pbtitlebar to a bitmap
of the solid part of the title bar of a typical window.
7) make sure that the height of pbtitlebar is exactly

the
same as the bitmap. Set the SizeMode to StretchImage
(this will cause some pixelation.. to avoid that you can
create a very long title bar for the largest screen you
can imagine... alternatively set the SizeMode to
StrechImage if the width of the pbtitlebar get longer
that 21 inch or whatever).
8) set the image of the pbicon to your application icon
and locate it in the upper left corner of the window.
Make sure to "Bring" it "to front";
9) run your program and resize the form... it clearly
behaves as though you have a title bar with an icon ,
but no text or minimum/maximum/close button.
10) create your buttons and position them on the
new "Title bar";
11) in the paint event of the pbTitleBar, write
instructions to locate the buttons programatically
correctly... i.e.

this.btnClose.left = pbtitlebar.right -
this.btnClose.width - 5;
this.btnMax.left = this.btnClose.left -
this.btnMax.width - 5;
etc;

12) add the button click handlers
13) After the click for each button make sure that the
focus is transferred to a control on the form.
14) you can simulate the active/inactive windows by
changing the image of the picture boxes (dark blue for
active and faint blue for inactive.
15) you can also program the drag event of the

pbtitlebar
to help moving the windows around on the screen.
16) you can get the window's title written to the
pbTitleBar by something like this:

private void ShowTitle()
{
System.Drawing.Graphics g =
this.pbTitleBar.CreateGraphics();
System.Drawing.Font font = new System.Drawing.Font
("Times New Roman", 12);
System.Drawing.PointF pos = new System.Drawing.PointF
(this.pictureBox2.Width + 5, this.pictureBox2.Top );
System.Drawing.Brush brush = new
System.Drawing.SolidBrush(System.Drawing.Color.Wh ite);

g.DrawString ("windows title", font, brush, pos);

}

You need to call ShowTitle in the form_paint and
pbTitleBar_Paint.

let me know if you have any problems with this.

good luck
Nasser.

-----Original Message-----
Hi all,

Is there any .NET way (I am not rulling out API usage)

to add button(s) to a
form's title bar?

I found some non-.NET solutions that did actually work

in VB6 but not in the
..NET forms...

I tried painting, but the paintaing area provided by

the
form is only the
client area - no visible way to paint on the title bar.

Since my application is MDI parent and children (even

though i would love a
generic solution), I also tried something silly that

worked: adding a button
member to the form (actually a derived class of form),

and in the
constructor, adding it to the MDIParent.Controls

property. after doing so,
all that is left is controling the button's position

accurding to the form
position and size. since the button is located on the

MDIParent it has a
"Z-Order" which is higher than the form, and therefor

drawn on top of it.
Only two problems with that: I had to hide the buttons

of un-focused forms
because otherwise they all appear on top of every other

element. the second
problem was drawing the button when minimized (no focus

when moving a
minimized mdi child form - thus, unable to determine if

to show or hide the
button) and drawing the button when maximized - this

seems all and all
impossible to do - no way to place even that "super-

button" on top of the
maximized title bar.

any help would be great,

Picho.
.

.

Jul 21 '05 #4
NC painting goes against windows design guidelines doesn't it.
"Nasser" <an*******@discussions.microsoft.com> wrote in message
news:01****************************@phx.gbl...
After posting, I realized that the skin is not the major
problem. Positioning the menu just under the "Title bar"
seems to be a more difficult problem to which I have no
solution. This is because a "main Menu" is NOT a
control!!

sorry!

Nasser

-----Original Message-----
here's my solution.... I think it does everything you
described in your posting but one thing... If the user
changes the skin... your app will still show the normal
title bar. If this is okay... read on.

This idea can be wrapped up in a new form class so that
you can use it for the MDI or MDIChild forms.

1) create a normal form in the designer
2) remove its Maximize, minimize, controlBox and title
text. This will result in a form without a titlebar.
3) set its border style to sizeable.
4) add 2 picture boxes; pbtitlebar and pbIcon
5) set the dock property of the pbtitlebar to "top".
6) set the image property of the pbtitlebar to a bitmap
of the solid part of the title bar of a typical window.
7) make sure that the height of pbtitlebar is exactly

the
same as the bitmap. Set the SizeMode to StretchImage
(this will cause some pixelation.. to avoid that you can
create a very long title bar for the largest screen you
can imagine... alternatively set the SizeMode to
StrechImage if the width of the pbtitlebar get longer
that 21 inch or whatever).
8) set the image of the pbicon to your application icon
and locate it in the upper left corner of the window.
Make sure to "Bring" it "to front";
9) run your program and resize the form... it clearly
behaves as though you have a title bar with an icon ,
but no text or minimum/maximum/close button.
10) create your buttons and position them on the
new "Title bar";
11) in the paint event of the pbTitleBar, write
instructions to locate the buttons programatically
correctly... i.e.

this.btnClose.left = pbtitlebar.right -
this.btnClose.width - 5;
this.btnMax.left = this.btnClose.left -
this.btnMax.width - 5;
etc;

12) add the button click handlers
13) After the click for each button make sure that the
focus is transferred to a control on the form.
14) you can simulate the active/inactive windows by
changing the image of the picture boxes (dark blue for
active and faint blue for inactive.
15) you can also program the drag event of the

pbtitlebar
to help moving the windows around on the screen.
16) you can get the window's title written to the
pbTitleBar by something like this:

private void ShowTitle()
{
System.Drawing.Graphics g =
this.pbTitleBar.CreateGraphics();
System.Drawing.Font font = new System.Drawing.Font
("Times New Roman", 12);
System.Drawing.PointF pos = new System.Drawing.PointF
(this.pictureBox2.Width + 5, this.pictureBox2.Top );
System.Drawing.Brush brush = new
System.Drawing.SolidBrush(System.Drawing.Color.Wh ite);

g.DrawString ("windows title", font, brush, pos);

}

You need to call ShowTitle in the form_paint and
pbTitleBar_Paint.

let me know if you have any problems with this.

good luck
Nasser.

-----Original Message-----
Hi all,

Is there any .NET way (I am not rulling out API usage)

to add button(s) to a
form's title bar?

I found some non-.NET solutions that did actually work

in VB6 but not in the
..NET forms...

I tried painting, but the paintaing area provided by

the
form is only the
client area - no visible way to paint on the title bar.

Since my application is MDI parent and children (even

though i would love a
generic solution), I also tried something silly that

worked: adding a button
member to the form (actually a derived class of form),

and in the
constructor, adding it to the MDIParent.Controls

property. after doing so,
all that is left is controling the button's position

accurding to the form
position and size. since the button is located on the

MDIParent it has a
"Z-Order" which is higher than the form, and therefor

drawn on top of it.
Only two problems with that: I had to hide the buttons

of un-focused forms
because otherwise they all appear on top of every other

element. the second
problem was drawing the button when minimized (no focus

when moving a
minimized mdi child form - thus, unable to determine if

to show or hide the
button) and drawing the button when maximized - this

seems all and all
impossible to do - no way to place even that "super-

button" on top of the
maximized title bar.

any help would be great,

Picho.
.

.

Jul 21 '05 #5
What's "NC Painting"?
"Alvin Bruney" <alvin.bruney@.telia..com.> wrote in message
news:Oy**************@TK2MSFTNGP10.phx.gbl...
NC painting goes against windows design guidelines doesn't it.
"Nasser" <an*******@discussions.microsoft.com> wrote in message
news:01****************************@phx.gbl...
After posting, I realized that the skin is not the major
problem. Positioning the menu just under the "Title bar"
seems to be a more difficult problem to which I have no
solution. This is because a "main Menu" is NOT a
control!!

sorry!

Nasser

-----Original Message-----
here's my solution.... I think it does everything you
described in your posting but one thing... If the user
changes the skin... your app will still show the normal
title bar. If this is okay... read on.

This idea can be wrapped up in a new form class so that
you can use it for the MDI or MDIChild forms.

1) create a normal form in the designer
2) remove its Maximize, minimize, controlBox and title
text. This will result in a form without a titlebar.
3) set its border style to sizeable.
4) add 2 picture boxes; pbtitlebar and pbIcon
5) set the dock property of the pbtitlebar to "top".
6) set the image property of the pbtitlebar to a bitmap
of the solid part of the title bar of a typical window.
7) make sure that the height of pbtitlebar is exactly

the
same as the bitmap. Set the SizeMode to StretchImage
(this will cause some pixelation.. to avoid that you can
create a very long title bar for the largest screen you
can imagine... alternatively set the SizeMode to
StrechImage if the width of the pbtitlebar get longer
that 21 inch or whatever).
8) set the image of the pbicon to your application icon
and locate it in the upper left corner of the window.
Make sure to "Bring" it "to front";
9) run your program and resize the form... it clearly
behaves as though you have a title bar with an icon ,
but no text or minimum/maximum/close button.
10) create your buttons and position them on the
new "Title bar";
11) in the paint event of the pbTitleBar, write
instructions to locate the buttons programatically
correctly... i.e.

this.btnClose.left = pbtitlebar.right -
this.btnClose.width - 5;
this.btnMax.left = this.btnClose.left -
this.btnMax.width - 5;
etc;

12) add the button click handlers
13) After the click for each button make sure that the
focus is transferred to a control on the form.
14) you can simulate the active/inactive windows by
changing the image of the picture boxes (dark blue for
active and faint blue for inactive.
15) you can also program the drag event of the

pbtitlebar
to help moving the windows around on the screen.
16) you can get the window's title written to the
pbTitleBar by something like this:

private void ShowTitle()
{
System.Drawing.Graphics g =
this.pbTitleBar.CreateGraphics();
System.Drawing.Font font = new System.Drawing.Font
("Times New Roman", 12);
System.Drawing.PointF pos = new System.Drawing.PointF
(this.pictureBox2.Width + 5, this.pictureBox2.Top );
System.Drawing.Brush brush = new
System.Drawing.SolidBrush(System.Drawing.Color.Wh ite);

g.DrawString ("windows title", font, brush, pos);

}

You need to call ShowTitle in the form_paint and
pbTitleBar_Paint.

let me know if you have any problems with this.

good luck
Nasser.


>-----Original Message-----
>Hi all,
>
>Is there any .NET way (I am not rulling out API usage)
to add button(s) to a
>form's title bar?
>
>I found some non-.NET solutions that did actually work
in VB6 but not in the
>..NET forms...
>
>I tried painting, but the paintaing area provided by

the
form is only the
>client area - no visible way to paint on the title bar.
>
>Since my application is MDI parent and children (even
though i would love a
>generic solution), I also tried something silly that
worked: adding a button
>member to the form (actually a derived class of form),
and in the
>constructor, adding it to the MDIParent.Controls
property. after doing so,
>all that is left is controling the button's position
accurding to the form
>position and size. since the button is located on the
MDIParent it has a
>"Z-Order" which is higher than the form, and therefor
drawn on top of it.
>Only two problems with that: I had to hide the buttons
of un-focused forms
>because otherwise they all appear on top of every other
element. the second
>problem was drawing the button when minimized (no focus
when moving a
>minimized mdi child form - thus, unable to determine if
to show or hide the
>button) and drawing the button when maximized - this
seems all and all
>impossible to do - no way to place even that "super-
button" on top of the
>maximized title bar.
>
>any help would be great,
>
>Picho.
>
>
>.
>
.


Jul 21 '05 #6
I wrote a solution for VB6 and I can say that there's no simple way to do
it. The best you can do is override the WndProc method of the form and
listen for NC_PAINT events. Paint your button onto the non-client area. Then
listen for mouse events and respond accordingly.

There wasn't much of a market for this, so I haven't ported my VB6 code to
..NET

HTH;
Eric Cadwell
http://www.origincontrols.com
Jul 21 '05 #7
well this seems the problem....

ho do i paint on non-client area?
"Eric Cadwell" <ec******@ns.insight.com> wrote in message
news:e8**************@tk2msftngp13.phx.gbl...
I wrote a solution for VB6 and I can say that there's no simple way to do
it. The best you can do is override the WndProc method of the form and
listen for NC_PAINT events. Paint your button onto the non-client area. Then listen for mouse events and respond accordingly.

There wasn't much of a market for this, so I haven't ported my VB6 code to
.NET

HTH;
Eric Cadwell
http://www.origincontrols.com

Jul 21 '05 #8
That is WM_NCPAINT events.
Jul 21 '05 #9
Try Graphics.FromHdc.

HTH;
Eric Cadwell
http://www.origincontrols.com
Jul 21 '05 #10
just did

it says "out of memory"...
only thing i can think of is maybe i got the "WM_NCPAINT" enum value wrong?

protected override void WndProc(ref Message message)

{

base.WndProc(ref message);

if (message.Msg==0x0085)

{

Graphics gfx = Graphics.FromHdc(message.WParam);

gfx.DrawLine(Pens.Black, 0,0, 20,20);

gfx.Dispose();

}

}

"Eric Cadwell" <ec******@ns.insight.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Try Graphics.FromHdc.

HTH;
Eric Cadwell
http://www.origincontrols.com

Jul 21 '05 #11
const int WM_NCPAINT = 0x85;
Jul 21 '05 #12
well I cant see whats wong then...
did you look at he code i sent?
(throws same exception if I use 0x85 instead of 0x0085)
"Eric Cadwell" <ec******@ns.insight.com> wrote in message
news:ud**************@TK2MSFTNGP09.phx.gbl...
const int WM_NCPAINT = 0x85;

Jul 21 '05 #13
Ah yes, the error is in the way you get the DC. Try this instead:

IntPtr hDC = GetWindowDC(message.HWnd);
Graphics graph = Graphics.FromHdc(hDC);

0x85 and 0x0085 are the same.

HTH;
Eric Cadwell
http://www.origincontrols.com
Jul 21 '05 #14
Looks good! I'm having issues with the frame not painting on WM_ACTIVATE
and/or WM_PAINT. Are you listening for all of them?

I'll try MDI next, I tried to monkey with MDI and WM_NCCALCSIZE, but
something went wrong.

HTH;
Eric Cadwell
http://www.origincontrols.com
Jul 21 '05 #15
Looks awesome! Got the MDI stuff, but WM_NCACTIVATE is still killing me.
When your app loses focus, does the button diappear? I'm doing an Invalidate
(and painting in response to WM_PAINT), but that causes a bit of a flicker
cause I'm currently repainting the whole window.

I would like to view the that part of the source. If you don't mind just
remove the "ns." from my email address.

-Eric
Jul 21 '05 #16
no prob. email on the way.

im sending just the inherited form class, the mdi parent code is the same -
just invokes a method on the child form that raises my "button click" event.

i did none of what you said on validating.. dont know what that means...
"who dares wins" lol

"Eric Cadwell" <ec******@ns.insight.com> wrote in message
news:OQ**************@TK2MSFTNGP10.phx.gbl...
Looks awesome! Got the MDI stuff, but WM_NCACTIVATE is still killing me.
When your app loses focus, does the button diappear? I'm doing an Invalidate (and painting in response to WM_PAINT), but that causes a bit of a flicker
cause I'm currently repainting the whole window.

I would like to view the that part of the source. If you don't mind just
remove the "ns." from my email address.

-Eric

Jul 21 '05 #17

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

Similar topics

2
by: Aravind | last post by:
Hi folks. I have a form, frmHistory, which has 4 command buttons: Sort Title (cmdSortTitle), Sort Name (cmdSortName), Due Today (cmdDueToday), and Due List (cmdDueList). Sort Title and Sort...
3
by: Jim Heavey | last post by:
Trying to figure out the technique which should be used to add rows to a datagrid. I am thinking that I would want an "Add" button on the footer, but I am not quite sure how to do that. Is that...
0
by: Klaus Jensen | last post by:
Hi! This has been annoying me for a while now, and I can't get it to work It is really driving me nuts! Basicly this simple webapp created to illustrate my problem, renders five buttons, and...
4
by: steve | last post by:
hi all, i was wondering how is it possible to add an extra box ( i think they are called boxes: upper right corner ...) in a form that will minimize it in the system tray? You know some...
16
by: Picho | last post by:
Hi all, Is there any .NET way (I am not rulling out API usage) to add button(s) to a form's title bar? I found some non-.NET solutions that did actually work in VB6 but not in the ..NET...
2
by: sbettadpur | last post by:
Hi everybody, Hi iam strugling with more than one submit buttons with in one form here is my code <form method="post" action="Offer.php" name='issueFrm' onSubmit="return fullOfferfields();">...
1
by: sbettadpur | last post by:
Hi everybody, Iam able to getting the submition of buttons status in Mozilla but it is not working in the IE browser Iam strugling with more than 1 submit button in a single form on The IE...
2
by: RLN | last post by:
I was at this link to add a menu bar to my Access app. http://office.microsoft.com/en-s/access/HP051890341033.aspx I got the menu bar added, but had some more questions about it. In the link...
5
fieryscream
by: fieryscream | last post by:
This is the javascript code that i have for validating a form, it raises error if the user puts in invalid information. The problem im having is when i enter: /* if(title.checked=false){ ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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
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?
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...
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...

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.