Click here to Skip to main content
15,889,876 members
Home / Discussions / C#
   

C#

 
GeneralRe: WebServices and older versions of VC and VB Pin
Dato27-Feb-03 14:47
Dato27-Feb-03 14:47 
GeneralWebServices and older versions of VC and VB Pin
Braulio Dez26-Feb-03 23:06
Braulio Dez26-Feb-03 23:06 
GeneralSmtp mail Pin
John Karbin26-Feb-03 20:42
John Karbin26-Feb-03 20:42 
GeneralRe: Smtp mail Pin
David Stone27-Feb-03 7:42
sitebuilderDavid Stone27-Feb-03 7:42 
GeneralRe: Smtp mail Pin
John Karbin27-Feb-03 21:02
John Karbin27-Feb-03 21:02 
General.net Pin
devvvy26-Feb-03 19:32
devvvy26-Feb-03 19:32 
GeneralRe: .net Pin
Hesham Amin26-Feb-03 22:07
Hesham Amin26-Feb-03 22:07 
GeneralVery hard to fix bug in my Form Pin
Mattingly26-Feb-03 13:45
Mattingly26-Feb-03 13:45 
I have what is a very annoying and subtle little glitch that I cannot get rid of. I'll try to be brief and to the point.

I have a form, on it are a handful of Label controls that I have subclassed, but I haven't changed the way they draw or render at all, just added some private properties to them specific my app.

When you click on the label, a ContextMenu is shown, and the label's image property recieves a different image to show it in a downstate.

If you chose not to select a menu item and click somewhere within the form, the context menu dissapears, naturally, and the label's image state returns to normal.

However, if you click *outside* the form while the context menu is displayed, say on another application behind the form, which has the effect of the form losing its focus and falling behind, and then if you bring the form back to focus, the label's image can be seen for a half second to still be in its down state before changing back to the normal state.

I have tried to put the code that returns the labels image state to normal *everywhere* in the lifecycle of the form's visibility that I can possibly think of. But no matter what, for a half of a second you can still see it in its down state when the form returns.

I am pulling my hair out. It sounds trivial, but it looks very bad, and I cannot allow it to behave this way when released. Is there something I'm missing? Maybe something to do with validation of controls?

Anything?

Thanks for any ideas people might have and hearing my little tale of woe.

Matttingly
GeneralRe: Very hard to fix bug in my Form Pin
Jeff J26-Feb-03 17:31
Jeff J26-Feb-03 17:31 
GeneralRe: Very hard to fix bug in my Form Pin
Mattingly26-Feb-03 17:44
Mattingly26-Feb-03 17:44 
GeneralRe: Very hard to fix bug in my Form Pin
Mattingly26-Feb-03 19:06
Mattingly26-Feb-03 19:06 
GeneralWebService Question Pin
codeweenie26-Feb-03 12:11
codeweenie26-Feb-03 12:11 
GeneralRe: WebService Question Pin
David Stone26-Feb-03 12:25
sitebuilderDavid Stone26-Feb-03 12:25 
GeneralRe: WebService Question Pin
codeweenie26-Feb-03 13:28
codeweenie26-Feb-03 13:28 
GeneralRe: WebService Question Pin
David Stone27-Feb-03 7:39
sitebuilderDavid Stone27-Feb-03 7:39 
GeneralRe: WebService Question Pin
Brian Olej28-Feb-03 6:52
Brian Olej28-Feb-03 6:52 
GeneralDataTable.Select() has a problem Pin
Nicholas Naddaf26-Feb-03 10:00
Nicholas Naddaf26-Feb-03 10:00 
GeneralRe: DataTable.Select() has a problem Pin
Paul Riley26-Feb-03 16:17
Paul Riley26-Feb-03 16:17 
Generaltransparent user control - background image not lined up Pin
bwells26-Feb-03 9:23
bwells26-Feb-03 9:23 
GeneralCustom IE Toolbar w/C# Pin
C#iruzo26-Feb-03 5:59
C#iruzo26-Feb-03 5:59 
GeneralRe: Custom IE Toolbar w/C# Pin
leppie26-Feb-03 6:06
leppie26-Feb-03 6:06 
GeneralRe: Custom IE Toolbar w/C# Pin
C#iruzo26-Feb-03 6:23
C#iruzo26-Feb-03 6:23 
GeneralRe: Custom IE Toolbar w/C# Pin
leppie26-Feb-03 6:27
leppie26-Feb-03 6:27 
GeneralRe: Custom IE Toolbar w/C# Pin
Arun Bhalla5-Mar-03 7:39
Arun Bhalla5-Mar-03 7:39 
QuestionTextbox Control databinding, a bug? Pin
DionChen26-Feb-03 5:28
DionChen26-Feb-03 5: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.