Click here to Skip to main content
15,920,383 members
Home / Discussions / Windows Forms
   

Windows Forms

 
Questiondataset,dataadapter i need help in general Pin
ashrafhakami25-Jun-08 1:07
ashrafhakami25-Jun-08 1:07 
AnswerRe: dataset,dataadapter i need help in general Pin
Christian Graus25-Jun-08 1:47
protectorChristian Graus25-Jun-08 1:47 
QuestionRe: dataset,dataadapter i need help in general pleassssssssss Pin
ashrafhakami26-Jun-08 1:29
ashrafhakami26-Jun-08 1:29 
AnswerRe: dataset,dataadapter i need help in general pleassssssssss Pin
Ashfield26-Jun-08 1:54
Ashfield26-Jun-08 1:54 
QuestionProgress Bar Pin
shatterstar645724-Jun-08 14:22
shatterstar645724-Jun-08 14:22 
AnswerRe: Progress Bar Pin
Ashfield24-Jun-08 21:34
Ashfield24-Jun-08 21:34 
AnswerRe: Progress Bar Pin
Christian Graus25-Jun-08 1:45
protectorChristian Graus25-Jun-08 1:45 
QuestionSuggestions for Zorder Management Pin
TyrionTheImp24-Jun-08 5:19
TyrionTheImp24-Jun-08 5:19 
Hi All,

I would like to create a module that manages ZOrders of windows in a system so that a particular group of windows (as identified by their Captions or Window Classes) are always together in zorder.

This means no external apps (like notepad or Task Manager) should "interfere" with them. So far the approaches i`ve tried are :

1. Using Windows CBT Hooks to get Activation notifications for all windows in the system. Then based on which windows is being activated i do zorder management

2. Use the SetWinEvent Hook API , so whenever Foreground window changes i do my zorder management. But this is done "after" the foreground change has occured so to bypass it i use AttachThreadInput on the current foreground window, set my app window as the new Foreground window and then detach.
Issue is ZOrder cant be maintained reliably and this sometimes causes my apps to hang.

3. Make all my app windows as Owned Windows of a single Owner window, but with this the internal ZOrder gets messed up if i show/hide my app windows. Is there any extra step i should take internally in my app windows, or issue some Messages form my Owner window before showing/activating any apps ?

4. A general question was : If I give SetWindowPos with the handle of a hidden window, or specify it as the hWndAfter parameter , what effect will this have on the ZOrder ?

All my windows are TopLevel, Non-TopMost windows and they can create their own custom MessageBox and Dialogs (TopMost , Non-Topmost). So whatever mechanism i go with should be extensible to these message boxes too.

Are there any other ways to this task ? Something better or faster ?
I`ll be happy to provide more details if required.
Any help and suggestions are most welcome.

Thanks in advance.
QuestionValue Close() cannot be called while doing CreateHandle() when closing an MDI Child Pin
But_Im_a_Lady23-Jun-08 2:59
But_Im_a_Lady23-Jun-08 2:59 
QuestionWhich DataGridView event for persisting changes? Pin
Brady Kelly23-Jun-08 1:04
Brady Kelly23-Jun-08 1:04 
AnswerRe: Which DataGridView event for persisting changes? Pin
led mike24-Jun-08 9:59
led mike24-Jun-08 9:59 
GeneralRe: Which DataGridView event for persisting changes? Pin
Brady Kelly24-Jun-08 10:07
Brady Kelly24-Jun-08 10:07 
GeneralRe: Which DataGridView event for persisting changes? Pin
led mike24-Jun-08 11:37
led mike24-Jun-08 11:37 
GeneralRe: Which DataGridView event for persisting changes? Pin
Brady Kelly24-Jun-08 11:47
Brady Kelly24-Jun-08 11:47 
QuestionEncoding Mp3 File while uploading to FTP Server Pin
catchcnu22-Jun-08 22:01
catchcnu22-Jun-08 22:01 
Questionmodifying scroll box controls using compact framework SDK Pin
neilfed222-Jun-08 9:15
neilfed222-Jun-08 9:15 
GeneralComboBox in DataGridView Pin
Brady Kelly22-Jun-08 6:16
Brady Kelly22-Jun-08 6:16 
GeneralRe: ComboBox in DataGridView Pin
John_Adams23-Jun-08 4:22
John_Adams23-Jun-08 4:22 
QuestionOpen a windows form one project in other project Pin
C4ao521-Jun-08 7:40
C4ao521-Jun-08 7:40 
AnswerRe: Open a windows form one project in other project Pin
Christian Graus21-Jun-08 15:40
protectorChristian Graus21-Jun-08 15:40 
GeneralRe: Open a windows form one project in other project Pin
C4ao522-Jun-08 0:35
C4ao522-Jun-08 0:35 
QuestionHow to stop updating a PictureBox? [modified] Pin
MichaelCoder20-Jun-08 10:18
MichaelCoder20-Jun-08 10:18 
AnswerRe: How to stop updating a PictureBox? Pin
Matthew Butler21-Jun-08 3:14
Matthew Butler21-Jun-08 3:14 
GeneralRe: How to stop updating a PictureBox? Pin
MichaelCoder21-Jun-08 4:05
MichaelCoder21-Jun-08 4:05 
GeneralRe: How to stop updating a PictureBox? Pin
MichaelCoder21-Jun-08 5:28
MichaelCoder21-Jun-08 5:28 

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.