Click here to Skip to main content
15,903,642 members
Home / Discussions / C#
   

C#

 
Generaltaskbar Pin
hebzzz29-Dec-03 7:54
hebzzz29-Dec-03 7:54 
GeneralRe: taskbar Pin
Heath Stewart29-Dec-03 8:52
protectorHeath Stewart29-Dec-03 8:52 
Generaldrag/drop to Windows Explorer Pin
elena1234529-Dec-03 6:26
elena1234529-Dec-03 6:26 
GeneralRe: drag/drop to Windows Explorer Pin
Tristan Rhodes29-Dec-03 7:57
Tristan Rhodes29-Dec-03 7:57 
GeneralRe: drag/drop to Windows Explorer Pin
Heath Stewart29-Dec-03 8:55
protectorHeath Stewart29-Dec-03 8:55 
GeneralMulti Page / Frame TIFF File Pin
ttnetworks29-Dec-03 4:16
ttnetworks29-Dec-03 4:16 
GeneralRe: Multi Page / Frame TIFF File Pin
Heath Stewart29-Dec-03 5:38
protectorHeath Stewart29-Dec-03 5:38 
GeneralEnable / Disable Cloned Context Menu Items Pin
Daniel Negron29-Dec-03 4:09
Daniel Negron29-Dec-03 4:09 
I have cloned the mainMenu to the context Menu. If I set the .Enabled or .Disabled in the form load event. These feature works properly. But If I minimize the form to use the contextMenu, the mnHide menuItem is not Hidden. If I click on Hide when the form is hidded, this causes the form to be squeezed to just the min, max and close buttons, when I do finaly hit the Show button.

Right now my issue is getting the mnHide button to hide, but this isn't working? Is there another way to hide the cloned context menu items ?


//
//contextMenu1
//
this.contextMenu1.MenuItems.Add(mnShow.CloneMenu());
this.contextMenu1.MenuItems.Add(mnHide.CloneMenu());


private void contextMenu1_Popup(object sender, System.EventArgs e)
{
if (this.WindowState == FormWindowState.Minimized)
{
this.mnShow.Enabled = true;
this.mnHide.Enabled = false;
}
else
{
this.mnShow.Enabled = false;
this.mnHide.Enabled = true;
}
}

Thanx in advance for your help.

**DAN**
GeneralRe: Enable / Disable Cloned Context Menu Items Pin
Heath Stewart29-Dec-03 5:45
protectorHeath Stewart29-Dec-03 5:45 
GeneralRe: Enable / Disable Cloned Context Menu Items Pin
Daniel Negron29-Dec-03 9:00
Daniel Negron29-Dec-03 9:00 
GeneralRe: Enable / Disable Cloned Context Menu Items Pin
Heath Stewart29-Dec-03 9:37
protectorHeath Stewart29-Dec-03 9:37 
GeneralRe: Enable / Disable Cloned Context Menu Items Pin
Anonymous29-Dec-03 10:51
Anonymous29-Dec-03 10:51 
GeneralRe: Enable / Disable Cloned Context Menu Items Pin
Daniel Negron29-Dec-03 10:53
Daniel Negron29-Dec-03 10:53 
GeneralRe: Enable / Disable Cloned Context Menu Items Pin
Daniel Negron30-Dec-03 4:04
Daniel Negron30-Dec-03 4:04 
GeneralClearing the Console Pin
extremeg29-Dec-03 3:54
extremeg29-Dec-03 3:54 
GeneralRe: Clearing the Console Pin
Heath Stewart29-Dec-03 5:30
protectorHeath Stewart29-Dec-03 5:30 
GeneralRe: Clearing the Console Pin
Hauptman(n)29-Dec-03 8:51
Hauptman(n)29-Dec-03 8:51 
GeneralRe: Clearing the Console Pin
Heath Stewart29-Dec-03 9:35
protectorHeath Stewart29-Dec-03 9:35 
GeneralMenuItem.BarBreak -- who was the idiot.... Pin
Marc Clifton29-Dec-03 3:28
mvaMarc Clifton29-Dec-03 3:28 
GeneralRe: MenuItem.BarBreak -- who was the idiot.... Pin
leppie29-Dec-03 6:42
leppie29-Dec-03 6:42 
GeneralRe: MenuItem.BarBreak -- who was the idiot.... Pin
Marc Clifton29-Dec-03 13:09
mvaMarc Clifton29-Dec-03 13:09 
GeneralRe: MenuItem.BarBreak -- who was the idiot.... Pin
leppie30-Dec-03 6:10
leppie30-Dec-03 6:10 
GeneralRe: MenuItem.BarBreak -- who was the idiot.... Pin
Roger Alsing29-Dec-03 9:18
Roger Alsing29-Dec-03 9:18 
GeneralRe: MenuItem.BarBreak -- who was the idiot.... Pin
Marc Clifton29-Dec-03 13:08
mvaMarc Clifton29-Dec-03 13:08 
Generalmaking c# programs run everywhere Pin
Leon Radley29-Dec-03 1:36
Leon Radley29-Dec-03 1:36 

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.