Click here to Skip to main content
15,901,035 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: These browsers that have a separate process for each tab Pin
Brady Kelly3-Nov-16 3:54
Brady Kelly3-Nov-16 3:54 
GeneralRe: These browsers that have a separate process for each tab Pin
Kornfeld Eliyahu Peter3-Nov-16 3:58
professionalKornfeld Eliyahu Peter3-Nov-16 3:58 
GeneralRe: These browsers that have a separate process for each tab Pin
Eddy Vluggen3-Nov-16 3:55
professionalEddy Vluggen3-Nov-16 3:55 
GeneralRe: These browsers that have a separate process for each tab Pin
Rob Philpott3-Nov-16 4:17
Rob Philpott3-Nov-16 4:17 
GeneralRe: These browsers that have a separate process for each tab Pin
Eddy Vluggen3-Nov-16 4:35
professionalEddy Vluggen3-Nov-16 4:35 
GeneralRe: These browsers that have a separate process for each tab Pin
Rob Philpott3-Nov-16 4:51
Rob Philpott3-Nov-16 4:51 
GeneralRe: These browsers that have a separate process for each tab Pin
Eddy Vluggen3-Nov-16 5:08
professionalEddy Vluggen3-Nov-16 5:08 
GeneralRe: These browsers that have a separate process for each tab Pin
Rob Philpott3-Nov-16 5:51
Rob Philpott3-Nov-16 5:51 
Well what I wanted to do, is to try and get two independent GUI threads working in the same window hierarchy, something I always thought was impossible. This would open the possibility of a process with lots of GUI threads (possible certainly, but not in the same window hierarchy as far as I knew).

This does that, and I've done it in a single process by spawning a second thread and making it execute the message pump of a second form. Completely independent yes, but when you 'join' them together with SetParent(), although we now have two separate GUI threads, they block each other.

ie. I created a replacement for calc.exe which was a form with a button with a Sleep(10000) behind it. Demo project works fine, but when you hit the button, the 'host' process is blocked as well - you can't drag it around or anything.

This makes sense I guess as one will send a MoveWindow message or something like that to the other, which is blocked, won't respond so blocks the other.

A small glimmer of opportunity, but its seems its not to be...
Regards,
Rob Philpott.

GeneralRe: These browsers that have a separate process for each tab Pin
Eddy Vluggen4-Nov-16 11:10
professionalEddy Vluggen4-Nov-16 11:10 
GeneralRe: These browsers that have a separate process for each tab Pin
Nish Nishant3-Nov-16 8:36
sitebuilderNish Nishant3-Nov-16 8:36 
GeneralRe: These browsers that have a separate process for each tab Pin
Kirill Illenseer3-Nov-16 22:33
Kirill Illenseer3-Nov-16 22:33 
GeneralSound of the Week Pin
Sander Rossel3-Nov-16 1:53
professionalSander Rossel3-Nov-16 1:53 
GeneralRe: Sound of the Week Pin
glennPattonWork33-Nov-16 2:34
professionalglennPattonWork33-Nov-16 2:34 
GeneralRe: Sound of the Week Pin
Sander Rossel3-Nov-16 2:55
professionalSander Rossel3-Nov-16 2:55 
GeneralRe: Sound of the Week Pin
David O'Neil3-Nov-16 7:29
professionalDavid O'Neil3-Nov-16 7:29 
GeneralRe: Sound of the Week Pin
Sander Rossel3-Nov-16 10:24
professionalSander Rossel3-Nov-16 10:24 
GeneralRe: Sound of the Week Pin
David O'Neil3-Nov-16 12:41
professionalDavid O'Neil3-Nov-16 12:41 
GeneralRe: Sound of the Week Pin
Sander Rossel5-Nov-16 3:13
professionalSander Rossel5-Nov-16 3:13 
GeneralRe: Sound of the Week Pin
Paul Kemner4-Nov-16 8:24
Paul Kemner4-Nov-16 8:24 
GeneralRe: Sound of the Week Pin
Sander Rossel5-Nov-16 3:16
professionalSander Rossel5-Nov-16 3:16 
GeneralCCC 03/11/16 Pin
PeejayAdams3-Nov-16 0:47
PeejayAdams3-Nov-16 0:47 
GeneralRe: CCC 03/11/16 Pin
pkfox3-Nov-16 0:52
professionalpkfox3-Nov-16 0:52 
GeneralRe: CCC 03/11/16 - SOLVED Pin
PeejayAdams3-Nov-16 1:06
PeejayAdams3-Nov-16 1:06 
GeneralA true politician... PinPopular
Kornfeld Eliyahu Peter3-Nov-16 0:23
professionalKornfeld Eliyahu Peter3-Nov-16 0:23 
GeneralRe: A true politician... Pin
glennPattonWork33-Nov-16 0:33
professionalglennPattonWork33-Nov-16 0:33 

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.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   499 votes