Click here to Skip to main content
15,922,166 members
Home / Discussions / C#
   

C#

 
NewsFeedback: How to find the number of current window handles [modified] Pin
Martin#18-Sep-07 21:27
Martin#18-Sep-07 21:27 
GeneralRe: Feedback: How to find the number of current window handles Pin
ramdil19-Sep-07 0:33
ramdil19-Sep-07 0:33 
GeneralRe: Feedback: How to find the number of current window handles Pin
Martin#19-Sep-07 2:16
Martin#19-Sep-07 2:16 
GeneralRe: Feedback: How to find the number of current window handles Pin
Robert Rohde19-Sep-07 2:53
Robert Rohde19-Sep-07 2:53 
GeneralRe: Feedback: How to find the number of current window handles Pin
Martin#19-Sep-07 3:04
Martin#19-Sep-07 3:04 
GeneralRe: Feedback: How to find the number of current window handles Pin
Dave Kreskowiak19-Sep-07 5:28
mveDave Kreskowiak19-Sep-07 5:28 
GeneralRe: Feedback: How to find the number of current window handles Pin
Martin#19-Sep-07 8:17
Martin#19-Sep-07 8:17 
GeneralRe: Feedback: How to find the number of current window handles Pin
Dave Kreskowiak19-Sep-07 12:04
mveDave Kreskowiak19-Sep-07 12:04 
Martin# wrote:
Because the project needs it!


No, it doesn't.


Martin# wrote:
I know that it's "a bad designed GUI"


Yeah, it is. And this doesn't excuse it.


Martin# wrote:
It's is a GUI which does mainly control Process Variables (PV's) of an industrial machine.
It's about 20000 PV's (Input and Output) which have to be arranged.


There are other ways of doing it beside trying to render 20,000 seperate windows. You can't come up with 20 applications that, COMBINED, use 20,000 handles.

Martin# wrote:
Apart from that it has to do some graphical output, charts, ...


So what?? A single cached bitmap that you do your drawing on, then that gets repainted to the screen.


Martin# wrote:
And the bad thing is, that the pages (UserControl with TabPages) allways have to stay in memory, because of fast reaction time at page change.


So you're telling me that you're storing your apps data in all the controls?? That's a REALLY bad idea and will do nothing other than cause you performance problems. The GUI (and all the controls that make it up) are there to show a visual representation of your apps internal data model. They do a terrible job of actually BEING the data model.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: Feedback: How to find the number of current window handles Pin
Martin#19-Sep-07 19:33
Martin#19-Sep-07 19:33 
GeneralRe: Feedback: How to find the number of current window handles Pin
Dave Kreskowiak20-Sep-07 1:59
mveDave Kreskowiak20-Sep-07 1:59 
GeneralRe: Feedback: How to find the number of current window handles Pin
Martin#20-Sep-07 2:48
Martin#20-Sep-07 2:48 
GeneralRe: Feedback: How to find the number of current window handles Pin
Dave Kreskowiak20-Sep-07 12:35
mveDave Kreskowiak20-Sep-07 12:35 
GeneralRe: Feedback: How to find the number of current window handles Pin
mav.northwind19-Sep-07 19:07
mav.northwind19-Sep-07 19:07 
GeneralRe: Feedback: How to find the number of current window handles Pin
Martin#19-Sep-07 19:35
Martin#19-Sep-07 19:35 
QuestionRemove One Row from DataGridView [modified] Pin
M Riaz Bashir18-Sep-07 21:15
M Riaz Bashir18-Sep-07 21:15 
AnswerRe: Remove One Row from DataGridView Pin
sri_ashutosh18-Sep-07 21:53
sri_ashutosh18-Sep-07 21:53 
AnswerRe: Remove One Row from DataGridView Pin
rohitsrivastava19-Sep-07 0:00
rohitsrivastava19-Sep-07 0:00 
QuestionLive Video Transmission Pin
DeepOceans18-Sep-07 20:41
DeepOceans18-Sep-07 20:41 
Questionusercontrols Pin
kakanis18-Sep-07 20:16
kakanis18-Sep-07 20:16 
AnswerRe: usercontrols Pin
DanB198319-Sep-07 0:27
DanB198319-Sep-07 0:27 
GeneralRe: usercontrols Pin
kakanis19-Sep-07 18:41
kakanis19-Sep-07 18:41 
GeneralRe: usercontrols Pin
DanB198319-Sep-07 20:53
DanB198319-Sep-07 20:53 
AnswerRe: usercontrols Pin
rohitsrivastava19-Sep-07 0:37
rohitsrivastava19-Sep-07 0:37 
GeneralRe: usercontrols Pin
Dave Kreskowiak19-Sep-07 5:05
mveDave Kreskowiak19-Sep-07 5:05 
AnswerRe: usercontrols Pin
Dave Kreskowiak19-Sep-07 5:10
mveDave Kreskowiak19-Sep-07 5:10 

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.