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

C#

 
GeneralRe: Annoying Properties Pin
albean26-Jul-03 15:16
albean26-Jul-03 15:16 
Hey Zero,

Sorry to get off topic but I tried to create a designer in C# about a year ago and gave up. The problem that I ran into was:

1)Place a control onto the workspace.
2)Place a second larger control that completely covers the first control.
3)Click and do a rubber band select of the second control (the rubber band rect completely surrounds both controls.)
4)Release the mouse.

Now both controls should be "highlighted" to show that they are selected. You should see the highlight of the fist control appear on top of the second control - even though it is totally "under" the second control and not visible. (That's how it works in visual studio.)

I overrode every thing I could think of and even tried doing things in the WndProc to get the first control’s "highlight" rect to appear on top of the second control but nothing I did would make it appear because the second control was always drawn over the first’s highlight rec.

How did you accomplish it?

GeneralRe: Annoying Properties Pin
StealthyMark27-Jul-03 23:44
StealthyMark27-Jul-03 23:44 
GeneralSend Error Message From Web Service To its client Pin
Mazdak26-Jul-03 9:30
Mazdak26-Jul-03 9:30 
GeneralRe: Send Error Message From Web Service To its client Pin
SimonS26-Jul-03 23:21
SimonS26-Jul-03 23:21 
GeneralRe: Send Error Message From Web Service To its client Pin
Mazdak27-Jul-03 4:38
Mazdak27-Jul-03 4:38 
GeneralRe: Send Error Message From Web Service To its client Pin
SimonS27-Jul-03 6:24
SimonS27-Jul-03 6:24 
GeneralRe: Send Error Message From Web Service To its client Pin
Mazdak27-Jul-03 9:58
Mazdak27-Jul-03 9:58 
QuestionHow to set a datasource for a usercontrol? Pin
STW26-Jul-03 9:21
STW26-Jul-03 9:21 
AnswerRe: How to set a datasource for a usercontrol? Pin
StealthyMark27-Jul-03 23:58
StealthyMark27-Jul-03 23:58 
QuestionNew to graphics drawing.....any assistance? Pin
LongRange.Shooter26-Jul-03 3:26
LongRange.Shooter26-Jul-03 3:26 
AnswerRe: New to graphics drawing.....any assistance? Pin
leppie26-Jul-03 7:42
leppie26-Jul-03 7:42 
GeneralRe: New to graphics drawing.....any assistance? Pin
LongRange.Shooter28-Jul-03 3:25
LongRange.Shooter28-Jul-03 3:25 
QuestionHow to open a registered file in application Pin
BigAndy25-Jul-03 23:59
BigAndy25-Jul-03 23:59 
AnswerRe: How to open a registered file in application Pin
Mazdak26-Jul-03 4:59
Mazdak26-Jul-03 4:59 
GeneralRe: How to open a registered file in application Pin
BigAndy26-Jul-03 5:39
BigAndy26-Jul-03 5:39 
GeneralRe: How to open a registered file in application Pin
Rocky Moore27-Jul-03 0:01
Rocky Moore27-Jul-03 0:01 
GeneralRe: How to open a registered file in application Pin
BigAndy27-Jul-03 22:06
BigAndy27-Jul-03 22:06 
GeneralMidi interfacing Pin
NareshkBajaj25-Jul-03 22:52
NareshkBajaj25-Jul-03 22:52 
GeneralRe: Midi interfacing Pin
Rocky Moore25-Jul-03 23:08
Rocky Moore25-Jul-03 23:08 
General.NET Licensing Pin
Alex Korchemniy25-Jul-03 21:56
Alex Korchemniy25-Jul-03 21:56 
GeneralReflections for automatic casting Pin
Ista25-Jul-03 18:12
Ista25-Jul-03 18:12 
GeneralRe: Reflections for automatic casting Pin
Ista25-Jul-03 18:12
Ista25-Jul-03 18:12 
GeneralShowing the newest event in a list box Pin
eggie525-Jul-03 17:38
eggie525-Jul-03 17:38 
GeneralRe: Showing the newest event in a list box Pin
Rocky Moore25-Jul-03 22:33
Rocky Moore25-Jul-03 22:33 
GeneralRe: Showing the newest event in a list box Pin
eggie525-Jul-03 22:39
eggie525-Jul-03 22:39 

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.