Click here to Skip to main content
15,905,782 members
Home / Discussions / C#
   

C#

 
GeneralRe: Active window Pin
J. Dunlap21-Jul-03 8:03
J. Dunlap21-Jul-03 8:03 
GeneralRe: Active window Pin
J. Dunlap21-Jul-03 7:57
J. Dunlap21-Jul-03 7:57 
GeneralRe: Active window Pin
J. Dunlap21-Jul-03 8:04
J. Dunlap21-Jul-03 8:04 
GeneralExchange Pin
totig21-Jul-03 5:10
totig21-Jul-03 5:10 
GeneralRe: Exchange Pin
apferreira21-Jul-03 5:19
apferreira21-Jul-03 5:19 
GeneralC# ListView Column Order/Reorder Pin
Scottk (TKS)21-Jul-03 4:24
Scottk (TKS)21-Jul-03 4:24 
GeneralRe: C# ListView Column Order/Reorder Pin
apferreira21-Jul-03 5:00
apferreira21-Jul-03 5:00 
GeneralOwner Draw Control Problems Pin
freshthinking21-Jul-03 3:11
freshthinking21-Jul-03 3:11 
I've created a number of overdrawn controls (status bar, group box) and they drawn fine, and as i want. However if you move another window over the window with these controls, you get odd kinda painting on the controls, kinda like window borders left over, etc. I would guess by getting all the controls to redraw themeselves would work, but I can't seem to get this sorted. i tried overidding the OnGotFocus in the main form on which these controls reside to call Invalidate(true), but it doesn't seem to work.

Any ideas??

[Edit]
I've managed to solve this by calling the Invalidate in the Frosm Activate event. However I still the same problem when say a drop down box (an owner drawn one) drops the list over the owner drawn controls. is there anyway of solving this short of calling invalidate alot, which. All the owner drawing is done by overriding the OnPaint in the pretty standard way.
[/Edit]
GeneralRe: Owner Draw Control Problems Pin
J. Dunlap21-Jul-03 7:52
J. Dunlap21-Jul-03 7:52 
GeneralRe: Owner Draw Control Problems Pin
freshthinking21-Jul-03 11:28
freshthinking21-Jul-03 11:28 
GeneralRe: Owner Draw Control Problems Pin
J. Dunlap21-Jul-03 11:32
J. Dunlap21-Jul-03 11:32 
GeneralRe: Owner Draw Control Problems Pin
freshthinking21-Jul-03 20:58
freshthinking21-Jul-03 20:58 
QuestionInserting the Toolbar into IE? Pin
Anonymous20-Jul-03 20:21
Anonymous20-Jul-03 20:21 
AnswerRe: Inserting the Toolbar into IE? Pin
J. Dunlap20-Jul-03 20:28
J. Dunlap20-Jul-03 20:28 
GeneralFormatting old text file Pin
eggie520-Jul-03 16:06
eggie520-Jul-03 16:06 
GeneralRe: Formatting old text file Pin
Ista21-Jul-03 17:15
Ista21-Jul-03 17:15 
GeneralRe: Formatting old text file Pin
Jim Stewart22-Jul-03 3:00
Jim Stewart22-Jul-03 3:00 
GeneralRe: Formatting old text file Pin
Ista22-Jul-03 3:28
Ista22-Jul-03 3:28 
Generalcreating a collection of same Type Pin
haimon1520-Jul-03 12:54
haimon1520-Jul-03 12:54 
GeneralRe: creating a collection of same Type Pin
Erick Sgarbi20-Jul-03 17:10
Erick Sgarbi20-Jul-03 17:10 
Generaldatagrid problem Pin
mdolby20-Jul-03 11:06
mdolby20-Jul-03 11:06 
GeneralRe: datagrid problem Pin
A.Wegierski20-Jul-03 19:32
A.Wegierski20-Jul-03 19:32 
GeneralProblems with WMP SDK/clip duration Pin
B Chase20-Jul-03 10:02
B Chase20-Jul-03 10:02 
GeneralRe: Problems with WMP SDK/clip duration Pin
B Chase20-Jul-03 12:19
B Chase20-Jul-03 12:19 
QuestionHow do you add printers to w2k adv. server using C# Pin
kenk_Csharp20-Jul-03 8:31
kenk_Csharp20-Jul-03 8:31 

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.