Click here to Skip to main content
15,922,427 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Enable / Disable Cloned Context Menu Items Pin
Heath Stewart29-Dec-03 5:45
protectorHeath Stewart29-Dec-03 5:45 
mnShow and mnHide are not the correct objects to enable / disable. Remember, you cloned them so they are not the same object reference. Instead, try something like this:
Menu mnShowClone = mnShow.CloneMenu();
Menu mnHideClone = mnHide.CloneMenu();
this.contextMenu1.MenuItems.Add(mnShowClone);
this.contextMenu1.MenuItems.Add(mnHideClone);
 
// ...
 
private void contextMenu1_Popup(object sender, EventArgs e)
{
  mnShowClone.Enabled = this.WindowState == FormWindowState.Minimized;
  mnHideClone.Enabled = !mnShowClone.Enabled;
}


 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
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 
GeneralRe: making c# programs run everywhere Pin
Jon Newman29-Dec-03 2:28
Jon Newman29-Dec-03 2:28 

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.