Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
AnswerRe: Finger print matching Pin
Abhinav S2-Jul-12 22:01
Abhinav S2-Jul-12 22:01 
GeneralHow to read bytes from Stream into Objects? Pin
Software20072-Jul-12 17:27
Software20072-Jul-12 17:27 
GeneralRe: How to read bytes from Stream into Objects? Pin
Richard MacCutchan2-Jul-12 21:47
mveRichard MacCutchan2-Jul-12 21:47 
GeneralRe: How to read bytes from Stream into Objects? Pin
OriginalGriff2-Jul-12 23:25
mveOriginalGriff2-Jul-12 23:25 
GeneralRe: How to read bytes from Stream into Objects? Pin
Richard MacCutchan2-Jul-12 23:39
mveRichard MacCutchan2-Jul-12 23:39 
AnswerRe: How to read bytes from Stream into Objects? Pin
Eddy Vluggen3-Jul-12 1:01
professionalEddy Vluggen3-Jul-12 1:01 
GeneralRe: How to read bytes from Stream into Objects? Pin
Software20073-Jul-12 6:42
Software20073-Jul-12 6:42 
AnswerRe: How to read bytes from Stream into Objects? Pin
Eddy Vluggen3-Jul-12 7:00
professionalEddy Vluggen3-Jul-12 7:00 
GeneralRe: How to read bytes from Stream into Objects? Pin
Software20073-Jul-12 7:35
Software20073-Jul-12 7:35 
QuestionSpellChecker Pin
Murugavel Sadagopan2-Jul-12 15:43
Murugavel Sadagopan2-Jul-12 15:43 
AnswerRe: SpellChecker Pin
Abhinav S2-Jul-12 16:27
Abhinav S2-Jul-12 16:27 
AnswerRe: SpellChecker Pin
Unnikrishnan_S_N3-Jul-12 3:07
Unnikrishnan_S_N3-Jul-12 3:07 
QuestionMessage Removed Pin
2-Jul-12 8:19
professionalN_tro_P2-Jul-12 8:19 
AnswerRe: Modify Top most Pin
Alan N2-Jul-12 9:30
Alan N2-Jul-12 9:30 
GeneralMessage Removed Pin
2-Jul-12 10:48
professionalN_tro_P2-Jul-12 10:48 
AnswerRe: Modify Top most Pin
Alan N3-Jul-12 11:03
Alan N3-Jul-12 11:03 
Colin,
In the following method is there something missing as I don't see how _hWnd1 is set.

C#
private void StartOtherProcesses()
        {
            Process.Start(APP_1);
 
            SetWindowPos(_hWnd1, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_SHOWWINDOW);
        }


Assuming there is some missing code, i.e. SetHwnd(), have you checked that the GetWindowsHandler method does actually get a non zero handle. Handle creation will be some time after process start and it not uncommon for Process.MainWindowHandle to be IntPtr.Zero for several hundred milliseconds even after Process.WaitForInputIdle() has returned (despite what MSDN says!).

By the way, I have verified by reading the extended style bits with GetWindowLong, that SetWindowPos will remove the WS_EX_TOPMOST style from a maximized topmost window.

Alan.

modified 3-Jul-12 21:00pm.

GeneralRe: Modify Top most Pin
Abhinav S2-Jul-12 16:15
Abhinav S2-Jul-12 16:15 
GeneralColor Detection Using Emgu HSV Pin
caoc72-Jul-12 7:12
caoc72-Jul-12 7:12 
AnswerRe: Color Detection Using Emgu Pin
Dave Kreskowiak2-Jul-12 9:01
mveDave Kreskowiak2-Jul-12 9:01 
QuestionDatabinding a DataGridView not immediately available Pin
Dewald2-Jul-12 4:11
Dewald2-Jul-12 4:11 
AnswerRe: Databinding a DataGridView not immediately available Pin
Jasmine25012-Jul-12 5:46
Jasmine25012-Jul-12 5:46 
GeneralRe: Databinding a DataGridView not immediately available Pin
Dewald2-Jul-12 6:30
Dewald2-Jul-12 6:30 
QuestionHow to add annotation to the pdf file viewed by axAcroPdf component Pin
candogu2-Jul-12 3:54
candogu2-Jul-12 3:54 
QuestionHaving trouble connecting with my datasource Pin
deadEddie1-Jul-12 18:38
deadEddie1-Jul-12 18:38 
GeneralRe: Having trouble connecting with my datasource Pin
Hum Dum1-Jul-12 19:51
Hum Dum1-Jul-12 19:51 

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.