Click here to Skip to main content
15,895,142 members
Home / Discussions / C#
   

C#

 
GeneralFile Ownership Pin
S S Basra20-Jan-03 22:57
S S Basra20-Jan-03 22:57 
GeneralRe: File Ownership Pin
S S Basra22-Jan-03 22:08
S S Basra22-Jan-03 22:08 
GeneralStructs and byte array pointers Pin
TFB20-Jan-03 12:02
TFB20-Jan-03 12:02 
GeneralRe: Structs and byte array pointers Pin
Nick Parker20-Jan-03 17:13
protectorNick Parker20-Jan-03 17:13 
GeneralRe: Structs and byte array pointers Pin
TFB22-Jan-03 6:40
TFB22-Jan-03 6:40 
GeneralDocking a form with the desktop, and auto-hiding... Pin
Anonymous20-Jan-03 11:40
Anonymous20-Jan-03 11:40 
GeneralRe: Docking a form with the desktop, and auto-hiding... Pin
foxms120-Jan-03 12:57
foxms120-Jan-03 12:57 
GeneralRe: Docking a form with the desktop, and auto-hiding... Pin
Nick Parker20-Jan-03 17:18
protectorNick Parker20-Jan-03 17:18 
Anonymous wrote:
Another feature I would like to implement is the ability for the bar to
slide in and out of view


I have actually been working on something like this for a while, however with classes a lot of my "projects" go into a hibernation mode. I found something like the following works well. The reson I resized to a width of 2 was that allowed for a white line to be drawn and shown along the edge of the form similar to the edge on your task bar when you look really close. Smile | :)

void HideMe()
{
    while(this.Width > 2)
    {
       this.Width -= 1;
       Thread.Sleep(10); // perfect delay time, I think.
       this.Refresh();
    }

}




Nick Parker

You see the Standards change. - Fellow co-worker


GeneralRe: Docking a form with the desktop, and auto-hiding... Pin
Stephane Rodriguez.20-Jan-03 18:59
Stephane Rodriguez.20-Jan-03 18:59 
GeneralRe: Docking a form with the desktop, and auto-hiding... Pin
Nick Parker21-Jan-03 17:47
protectorNick Parker21-Jan-03 17:47 
GeneralRe: Docking a form with the desktop, and auto-hiding... Pin
Stephane Rodriguez.21-Jan-03 19:09
Stephane Rodriguez.21-Jan-03 19:09 
GeneralRe: Docking a form with the desktop, and auto-hiding... Pin
Nick Parker22-Jan-03 2:50
protectorNick Parker22-Jan-03 2:50 
GeneralRe: Docking a form with the desktop, and auto-hiding... Pin
Anonymous21-Jan-03 3:02
Anonymous21-Jan-03 3:02 
GeneralRe: Docking a form with the desktop, and auto-hiding... Pin
Randy Williams21-Jan-03 3:51
Randy Williams21-Jan-03 3:51 
GeneralRe: Docking a form with the desktop, and auto-hiding... Pin
Anonymous21-Jan-03 8:45
Anonymous21-Jan-03 8:45 
GeneralRe: Docking a form with the desktop, and auto-hiding... Pin
Anonymous21-Jan-03 10:05
Anonymous21-Jan-03 10:05 
GeneralNavigating with DataBinding Pin
MattG20-Jan-03 10:11
MattG20-Jan-03 10:11 
GeneralRe: Navigating with DataBinding Pin
David Stone21-Jan-03 5:19
sitebuilderDavid Stone21-Jan-03 5:19 
GeneralRe: Navigating with DataBinding Pin
MattG21-Jan-03 8:32
MattG21-Jan-03 8:32 
GeneralRe: Navigating with DataBinding Pin
David Stone21-Jan-03 18:33
sitebuilderDavid Stone21-Jan-03 18:33 
GeneralWindows Services and Shutdown Pin
Jesse Squire20-Jan-03 6:23
Jesse Squire20-Jan-03 6:23 
GeneralRe: Windows Services and Shutdown Pin
Daniel Turini21-Jan-03 0:51
Daniel Turini21-Jan-03 0:51 
GeneralMagic UI Tab control help Pin
Daniel Bright20-Jan-03 4:52
Daniel Bright20-Jan-03 4:52 
GeneralRe: Magic UI Tab control help Pin
Heath Stewart20-Jan-03 5:31
protectorHeath Stewart20-Jan-03 5:31 
GeneralRe: Magic UI Tab control help Pin
Daniel Bright20-Jan-03 5:52
Daniel Bright20-Jan-03 5:52 

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.