Click here to Skip to main content
15,896,730 members
Home / Discussions / C#
   

C#

 
QuestionHow to specify an event handler Pin
peterchen4-Apr-07 5:02
peterchen4-Apr-07 5:02 
AnswerRe: How to specify an event handler Pin
mikanu4-Apr-07 6:48
mikanu4-Apr-07 6:48 
QuestionMulti-select ComboBox Pin
Amatista4-Apr-07 4:46
Amatista4-Apr-07 4:46 
AnswerRe: Multi-select ComboBox Pin
Douglas Troy4-Apr-07 6:00
Douglas Troy4-Apr-07 6:00 
GeneralRe: Multi-select ComboBox Pin
Amatista4-Apr-07 22:27
Amatista4-Apr-07 22:27 
GeneralRe: Multi-select ComboBox Pin
Douglas Troy5-Apr-07 5:34
Douglas Troy5-Apr-07 5:34 
GeneralRe: Multi-select ComboBox Pin
Amatista10-Apr-07 2:27
Amatista10-Apr-07 2:27 
QuestionControl Draw delay on resize (Getting rid of it) Pin
Muntyness4-Apr-07 3:11
Muntyness4-Apr-07 3:11 
I have a program which has a bunch of user controls. (Talking in the hundreds here) You can basically consider these controls as a bunch of buttons, with 2 images taken from the hard drive as Up and Pressed states. (The images are stored in memory when the control is first created, so there isn't any delay getting them from the hard drive.)

My problem is that when the program is minimized and then maximized, all the user controls redraw themselves. Is there any way to stop this?

Now, bearing in mind that RAM is not an issue, (well as long as it doesn't use more than 300MB or so of it anyway :P ) so if the only way to fix this is to use lots of memory, I don't mind.

Any suggestions?

PS. I'm assuming that the Windows GUI is discarding the conrol graphics as soon as they're off screen to improve performance. If this is true, then a way to stop this would be appreciated. (Also making it all get painted at the same time on startup would be appreciated. A slight delay while loading up the program would not matter)

Note: Using UserPaint, AllPaintingInWmPaint and DoubleBuffer doesnt help.

- Munty
AnswerRe: Control Draw delay on resize (Getting rid of it) Pin
Stanciu Vlad4-Apr-07 7:52
Stanciu Vlad4-Apr-07 7:52 
QuestionMSI uninstall problems Pin
Vadim G.4-Apr-07 2:53
Vadim G.4-Apr-07 2:53 
AnswerRe: MSI uninstall problems Pin
Douglas Troy4-Apr-07 3:51
Douglas Troy4-Apr-07 3:51 
GeneralRe: MSI uninstall problems Pin
Vadim G.4-Apr-07 4:44
Vadim G.4-Apr-07 4:44 
Questionbind list with datagrid & textbox Pin
merwa4-Apr-07 2:43
merwa4-Apr-07 2:43 
AnswerRe: bind list with datagrid & textbox Pin
Not Active4-Apr-07 3:24
mentorNot Active4-Apr-07 3:24 
QuestionProblem Displaying moneyfield in gridview Pin
Bubbles24-Apr-07 1:56
Bubbles24-Apr-07 1:56 
AnswerRe: Problem Displaying moneyfield in gridview Pin
kubben4-Apr-07 2:31
kubben4-Apr-07 2:31 
AnswerRe: Problem Displaying moneyfield in gridview Pin
Hayder Marzouk4-Apr-07 2:33
Hayder Marzouk4-Apr-07 2:33 
GeneralRe: Problem Displaying moneyfield in gridview Pin
Bubbles24-Apr-07 3:11
Bubbles24-Apr-07 3:11 
GeneralRe: Problem Displaying moneyfield in gridview Pin
Hayder Marzouk4-Apr-07 4:05
Hayder Marzouk4-Apr-07 4:05 
GeneralRe: Problem Displaying moneyfield in gridview Pin
Bubbles24-Apr-07 5:01
Bubbles24-Apr-07 5:01 
QuestionAppliction like taskbar Pin
Muhammad Nauman Yousuf4-Apr-07 1:54
Muhammad Nauman Yousuf4-Apr-07 1:54 
AnswerRe: Appliction like taskbar Pin
originSH4-Apr-07 2:10
originSH4-Apr-07 2:10 
GeneralRe: Appliction like taskbar Pin
Muhammad Nauman Yousuf4-Apr-07 2:19
Muhammad Nauman Yousuf4-Apr-07 2:19 
GeneralRe: Appliction like taskbar Pin
originSH4-Apr-07 2:50
originSH4-Apr-07 2:50 
GeneralRe: Appliction like taskbar - Let me again describe you in more easier words Pin
Muhammad Nauman Yousuf4-Apr-07 3:20
Muhammad Nauman Yousuf4-Apr-07 3:20 

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.