Click here to Skip to main content
15,897,968 members
Home / Discussions / C#
   

C#

 
GeneralRe: Respond to UI Messages Pin
neroknights4-Apr-03 4:06
neroknights4-Apr-03 4:06 
GeneralRe: Respond to UI Messages Pin
Nick Seng6-Apr-03 16:45
Nick Seng6-Apr-03 16:45 
GeneralRe: Respond to UI Messages Pin
neroknights7-Apr-03 5:12
neroknights7-Apr-03 5:12 
GeneralRe: Respond to UI Messages Pin
Nick Seng7-Apr-03 16:12
Nick Seng7-Apr-03 16:12 
GeneralRe: Respond to UI Messages Pin
neroknights8-Apr-03 4:04
neroknights8-Apr-03 4:04 
GeneralRe: Respond to UI Messages Pin
Nick Seng8-Apr-03 15:23
Nick Seng8-Apr-03 15:23 
GeneralError in .NET (regions) ??!! Pin
Wizard_014-Apr-03 3:38
Wizard_014-Apr-03 3:38 
GeneralRe: Error in .NET (regions) ??!! Pin
Chris Jobson4-Apr-03 10:57
Chris Jobson4-Apr-03 10:57 
I've found by experiment that the problem is with the width (0.002...). If either the width or the height of the rectangle used to create the region is less than 0.03125 then the problem occurs. I've also found that
region.IsEmpty(myform.CreateGraphics())
returns true if either the width or height is less than this value.

I'm afraid I've no idea why a width/height of less than 0.03125 makes a region empty, or what you can do about it (except check for a size less than this and make it bigger). 0.03125 = 1/32, so maybe this is some "magic number" used within GDI+?Confused | :confused:

Chris Jobson
GeneralRe: Error in .NET (regions) ??!! Pin
Wizard_014-Apr-03 21:58
Wizard_014-Apr-03 21:58 
GeneralTypes and XML Pin
Jon Newman4-Apr-03 3:17
Jon Newman4-Apr-03 3:17 
GeneralRe: Types and XML Pin
Stephane Rodriguez.4-Apr-03 6:46
Stephane Rodriguez.4-Apr-03 6:46 
QuestionHave components you want to sell? Pin
Roger Alsing4-Apr-03 0:57
Roger Alsing4-Apr-03 0:57 
GeneralUsing the capacity property of ArrayList Pin
Alex Iagovsky4-Apr-03 0:51
Alex Iagovsky4-Apr-03 0:51 
GeneralRe: Using the capacity property of ArrayList Pin
Paul Riley4-Apr-03 1:56
Paul Riley4-Apr-03 1:56 
GeneralRe: Using the capacity property of ArrayList Pin
Stephane Rodriguez.4-Apr-03 6:51
Stephane Rodriguez.4-Apr-03 6:51 
GeneralRe: Using the capacity property of ArrayList Pin
neroknights4-Apr-03 4:01
neroknights4-Apr-03 4:01 
GeneralSQL Server -> trigger -> event -> caught by C# program Pin
zoltan_ie4-Apr-03 0:22
zoltan_ie4-Apr-03 0:22 
GeneralArray.Contains Pin
Anonymous3-Apr-03 23:22
Anonymous3-Apr-03 23:22 
GeneralRe: Array.Contains Pin
Paul Riley4-Apr-03 1:57
Paul Riley4-Apr-03 1:57 
GeneralRe: Array.Contains Pin
Anonymous4-Apr-03 2:23
Anonymous4-Apr-03 2:23 
Generalregister customized protocol Pin
ddrk3-Apr-03 22:34
ddrk3-Apr-03 22:34 
GeneralRe: register customized protocol Pin
Stephane Rodriguez.4-Apr-03 7:00
Stephane Rodriguez.4-Apr-03 7:00 
GeneralRe: register customized protocol Pin
ddrk4-Apr-03 17:18
ddrk4-Apr-03 17:18 
GeneralPrinting > How do I see the status of a printer Pin
Leon van Wyk3-Apr-03 22:25
professionalLeon van Wyk3-Apr-03 22:25 
General.NET remote object running locally Pin
dacris3-Apr-03 17:08
dacris3-Apr-03 17:08 

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.