Click here to Skip to main content
15,891,513 members
Home / Discussions / C#
   

C#

 
QuestionAvoiding exceptions in socket programming Pin
Rob Philpott3-Sep-10 0:49
Rob Philpott3-Sep-10 0:49 
AnswerRe: Avoiding exceptions in socket programming Pin
Not Active3-Sep-10 1:06
mentorNot Active3-Sep-10 1:06 
GeneralRe: Avoiding exceptions in socket programming Pin
Rob Philpott3-Sep-10 1:10
Rob Philpott3-Sep-10 1:10 
GeneralRe: Avoiding exceptions in socket programming Pin
#realJSOP3-Sep-10 1:36
mve#realJSOP3-Sep-10 1:36 
AnswerRe: Avoiding exceptions in socket programming Pin
DaveyM693-Sep-10 1:35
professionalDaveyM693-Sep-10 1:35 
QuestionToolStripMenuItem.Visible always returns false? (Clarified hopefully) Pin
AussieLew2-Sep-10 17:53
AussieLew2-Sep-10 17:53 
AnswerRe: ToolStripMenuItem.Visible always returns false? (Clarified hopefully) Pin
Matt U.2-Sep-10 17:59
Matt U.2-Sep-10 17:59 
GeneralRe: ToolStripMenuItem.Visible always returns false? (Clarified hopefully) Pin
AussieLew2-Sep-10 18:45
AussieLew2-Sep-10 18:45 
Matt U. wrote:
So, if the item is visible and you then do 'item.Visible = false;' does that make it disappear? And how about after 'Visible' is set to 'false'? If you then call 'item.Visible = true;' does the item actually show up again?


Yes when setting the Visible property in this way the item disappears and appears as you would expect.
It just always returns false. Even something like....
item.Visible = true;
bool isVisible = item.Visible;

returns false, despite actually being Visible. Hence the inabilty to Toggle based on it current state.

What I have found is that the top level menu items behave as expected, whereas the lower level, or at least mine on the 2nd and 3rd levels don't seem to behave?

modified on Friday, September 3, 2010 12:59 AM

AnswerRe: ToolStripMenuItem.Visible always returns false? (Clarified hopefully) Pin
DaveyM695-Sep-10 7:20
professionalDaveyM695-Sep-10 7:20 
GeneralRe: ToolStripMenuItem.Visible always returns false? (Clarified hopefully) Pin
AussieLew6-Sep-10 1:49
AussieLew6-Sep-10 1:49 
GeneralRe: ToolStripMenuItem.Visible always returns false? (Clarified hopefully) Pin
DaveyM696-Sep-10 2:34
professionalDaveyM696-Sep-10 2:34 
GeneralRe: ToolStripMenuItem.Visible always returns false? (Clarified hopefully) Pin
AussieLew6-Sep-10 23:38
AussieLew6-Sep-10 23:38 
QuestionPDF based project Pin
AussieLew2-Sep-10 17:41
AussieLew2-Sep-10 17:41 
Questionwhat's in DragEventArgs in a dragdrop event Pin
Louis-Etienne Chicoine2-Sep-10 8:53
Louis-Etienne Chicoine2-Sep-10 8:53 
AnswerRe: what's in DragEventArgs in a dragdrop event Pin
Luc Pattyn2-Sep-10 9:02
sitebuilderLuc Pattyn2-Sep-10 9:02 
QuestionHow do I convert an XML response of type GetLiveCompactWeatherByUSZipCodeResponse into usable strings? Pin
SCADirector2-Sep-10 6:18
SCADirector2-Sep-10 6:18 
QuestionIs there a good example of using multiple forms..... Pin
glennPattonWork32-Sep-10 5:11
professionalglennPattonWork32-Sep-10 5:11 
AnswerRe: Is there a good example of using multiple forms..... Pin
phil.o2-Sep-10 5:31
professionalphil.o2-Sep-10 5:31 
GeneralRe: Is there a good example of using multiple forms..... Pin
glennPattonWork32-Sep-10 6:17
professionalglennPattonWork32-Sep-10 6:17 
GeneralRe: Is there a good example of using multiple forms..... Pin
#realJSOP2-Sep-10 7:10
mve#realJSOP2-Sep-10 7:10 
GeneralRe: Is there a good example of using multiple forms..... Pin
The Man from U.N.C.L.E.2-Sep-10 7:11
The Man from U.N.C.L.E.2-Sep-10 7:11 
AnswerRe: Is there a good example of using multiple forms..... Pin
Henry Minute2-Sep-10 6:22
Henry Minute2-Sep-10 6:22 
AnswerRe: Is there a good example of using multiple forms..... Pin
DaveyM692-Sep-10 6:24
professionalDaveyM692-Sep-10 6:24 
GeneralRe: Is there a good example of using multiple forms..... Pin
AussieLew2-Sep-10 18:53
AussieLew2-Sep-10 18:53 
GeneralRe: Is there a good example of using multiple forms..... Pin
DaveyM692-Sep-10 21:18
professionalDaveyM692-Sep-10 21:18 

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.