Bug 165712 - Create wrapper Shell around existing handle
Summary: Create wrapper Shell around existing handle
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 154088
  Show dependency tree
 
Reported: 2006-11-23 15:57 EST by Andrew Niefer CLA
Modified: 2006-12-01 17:23 EST (History)
3 users (show)

See Also:


Attachments
Windows testcase (2.56 KB, text/plain)
2006-12-01 17:18 EST, Silenio Quarti CLA
no flags Details
Carbon testcase (4.55 KB, text/plain)
2006-12-01 17:18 EST, Silenio Quarti CLA
no flags Details
GTK testcase (3.93 KB, text/plain)
2006-12-01 17:19 EST, Silenio Quarti CLA
no flags Details
Motif testcase (4.20 KB, text/plain)
2006-12-01 17:19 EST, Silenio Quarti CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Niefer CLA 2006-11-23 15:57:58 EST
In support of the new launcher (bug ) we need to be able to create a shell using an existing handle from a window that was created natively (in the same process and thread)
Comment 1 Andrew Niefer CLA 2006-11-23 15:58:54 EST
I meant to reference bug 154088 above.
Comment 2 Silenio Quarti CLA 2006-12-01 17:18:08 EST
Created attachment 54931 [details]
Windows testcase
Comment 3 Silenio Quarti CLA 2006-12-01 17:18:42 EST
Created attachment 54932 [details]
Carbon testcase
Comment 4 Silenio Quarti CLA 2006-12-01 17:19:06 EST
Created attachment 54933 [details]
GTK testcase
Comment 5 Silenio Quarti CLA 2006-12-01 17:19:30 EST
Created attachment 54934 [details]
Motif testcase
Comment 6 Silenio Quarti CLA 2006-12-01 17:23:56 EST
Fixed > 20061201.

We added Shell.internal_new(Display, int) on all platforms which will wrap a handle to a top level window. The testcases I attached above shows what is expected as the handle. The widget structure cannot deviate much from what is done in the testcases above.