| Description: |
OriginalBugID: 3381 RFE
Version: 8.2.1
SubmitDate: '1999-11-05'
LastModified: '2000-01-27'
Severity: SER
Status: UnAssn
Submitter: techsupp
ChangedBy: hobbs
OS: Windows NT
OSVersion: 4.0 sp3
Name:
Joris J. Röling
Extensions:
none
DesiredBehavior:
We would like to have the Tk toplevel window to be a child window of a
(native) Win32 app. I did experiment with the '-use 0x<window handle>'
argument of Wish, with my Win32 window as target, or another Wish
instance (even with a frame that had the '-container' flag set), but it
all left me in the dark. Let me tell you what we want:
Like the Tclsh (which is perfectly embedable), we would like to use Tk
as *part* of the (user extendible) UI of our applications. So our
application does the main UI itself (native Win32), but should offser
our end-user the option to extend the I using Tcl/Tk. In our idea, a
child window should be made by our Win32 app, a thread be started (so
that Tk can do it's MainLoop), and the window handle should be given to
Tk, so it knows its parent window. From there on, the end-user can start
Tcl/Tk scripts that will reflect it's UI on this parent window. I'm sure
this must be possible, but the documentation is (as far as I know) not
very elaborate on this subject.
To sum it up: We would like to use Tk without it being a 'toplevel'
window.
(Please ask if I have explained myself badly, I'll rephrase the
question)
Cheers,
Joris
|