Click here to Skip to main content
15,890,527 members
Home / Discussions / C#
   

C#

 
AnswerRe: Pop-up Windows Forms Pin
Christian Graus11-Jul-07 2:08
protectorChristian Graus11-Jul-07 2:08 
GeneralRe: Pop-up Windows Forms Pin
sangramkp11-Jul-07 2:15
sangramkp11-Jul-07 2:15 
QuestionHow to write a program to run on system tray [modified] Pin
prasadbuddhika11-Jul-07 0:46
prasadbuddhika11-Jul-07 0:46 
AnswerRe: How to write a program to run on system tray Pin
Eduard Keilholz11-Jul-07 1:14
Eduard Keilholz11-Jul-07 1:14 
AnswerRe: How to write a program to run on system tray Pin
Giorgi Dalakishvili11-Jul-07 1:14
mentorGiorgi Dalakishvili11-Jul-07 1:14 
QuestionToolStripTextBox_Enter event Pin
Nouman Bhatti11-Jul-07 0:23
Nouman Bhatti11-Jul-07 0:23 
QuestionUnit Testing and Add-In Express Pin
Johan Lombaard10-Jul-07 23:51
Johan Lombaard10-Jul-07 23:51 
QuestionProblem with progress bar in its own thread Pin
AlexZieg7110-Jul-07 23:51
AlexZieg7110-Jul-07 23:51 
Hi,

in my application (.NET 1.1, Windows.Forms) I have built a progress bar form, which is started in its own thread. It gets the progress information from the main thread and is thus successfully redrawn during the calculations - when it is kept on the top.

My problem refers to the window instances: I want the progress bar form to be always on top of the main form, but that seems not to be easy. It always shows up on top of the main form, when I define the main form as its owner, but then the progress-bar form is not redrawn during the calculation. At the moment I have it not defined as owned by the main window, but when I now bring another window on top and then want to change back to my, still calculating, application by activating it on the task-bar, the progress-bar window is invisible under the main window.

I hope, you understand my problem... What do I do wrong? Is it not allowed to define a form, which was created in an own thread, as owned by a form created in the main thread?

Thanks in advance,
Alex
AnswerRe: Problem with progress bar in its own thread Pin
Martin#11-Jul-07 0:05
Martin#11-Jul-07 0:05 
GeneralRe: Problem with progress bar in its own thread Pin
AlexZieg7111-Jul-07 1:40
AlexZieg7111-Jul-07 1:40 
GeneralRe: Problem with progress bar in its own thread Pin
Martin#11-Jul-07 1:42
Martin#11-Jul-07 1:42 
GeneralRe: Problem with progress bar in its own thread Pin
AlexZieg7111-Jul-07 2:57
AlexZieg7111-Jul-07 2:57 
GeneralRe: Problem with progress bar in its own thread Pin
Martin#11-Jul-07 3:01
Martin#11-Jul-07 3:01 
GeneralRe: Problem with progress bar in its own thread Pin
AlexZieg7111-Jul-07 5:20
AlexZieg7111-Jul-07 5:20 
AnswerRe: Problem with progress bar in its own thread Pin
Luc Pattyn11-Jul-07 5:18
sitebuilderLuc Pattyn11-Jul-07 5:18 
GeneralRe: Problem with progress bar in its own thread Pin
S. Senthil Kumar11-Jul-07 5:21
S. Senthil Kumar11-Jul-07 5:21 
GeneralRe: Problem with progress bar in its own thread Pin
AlexZieg7111-Jul-07 5:44
AlexZieg7111-Jul-07 5:44 
GeneralRe: Problem with progress bar in its own thread Pin
S. Senthil Kumar11-Jul-07 7:01
S. Senthil Kumar11-Jul-07 7:01 
GeneralRe: Problem with progress bar in its own thread Pin
AlexZieg7111-Jul-07 9:40
AlexZieg7111-Jul-07 9:40 
Questionmasked textbox Pin
KrunalC10-Jul-07 23:38
KrunalC10-Jul-07 23:38 
AnswerRe: masked textbox Pin
Martin#11-Jul-07 0:55
Martin#11-Jul-07 0:55 
QuestionXML Serialize Pin
ruanr10-Jul-07 22:47
ruanr10-Jul-07 22:47 
AnswerRe: XML Serialize Pin
WillemM11-Jul-07 0:33
WillemM11-Jul-07 0:33 
Questiontext editor Pin
Sebastian T Xavier10-Jul-07 22:35
Sebastian T Xavier10-Jul-07 22:35 
AnswerRe: text editor Pin
Colin Angus Mackay10-Jul-07 23:32
Colin Angus Mackay10-Jul-07 23:32 

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.