Re: Embedding Tk in an MFC application



antred wrote:
Okay, I'm working around my last prolblem by using a Tcl_Eval call to
source auto.tcl as well and it works. Now I have a new problem.

The following sample is supposed to display a window saying "hello
world":

label .hello -text "Hello World"
pack .hello

Unfortunately it does not. The interpreter executes the commands and
then ends. No window is ever shown. =(

Your program is probably failing to start an event loop.

Can you go back several steps and just consider dynamically
loading Tk in the usual way with

package require Tk

?
.



Relevant Pages

  • Re: Beware of what you download.. was Re: OT...really...OT....is it real??
    ... Firefox I tried to open it again and kept getting a window saying that ... IIRR it blocks them from loading in the windows registry which prevents ... entries to the registry with the kill bits in place. ...
    (rec.motorcycles.harley)
  • Re: Beware of what you download.. was Re: OT...really...OT....is it real??
    ... This is what popped up right after loading that site "content checker ... found virus: HTML.Phishing.Bank-292". ... Firefox I tried to open it again and kept getting a window saying that ... IIRR it blocks them from loading in the windows registry which prevents ...
    (rec.motorcycles.harley)
  • Re: Beware of what you download.. was Re: OT...really...OT....is it real??
    ... This is what popped up right after loading that site "content checker ... found virus: HTML.Phishing.Bank-292". ... Firefox I tried to open it again and kept getting a window saying that ... IIRR it blocks them from loading in the windows registry which prevents ...
    (rec.motorcycles.harley)
  • Re: Beware of what you download.. was Re: OT...really...OT....is it real??
    ... This is what popped up right after loading that site "content checker ... found virus: HTML.Phishing.Bank-292". ... Firefox I tried to open it again and kept getting a window saying that ... IIRR it blocks them from loading in the windows registry which prevents them ...
    (rec.motorcycles.harley)
  • error messages
    ... Every time I restart my pc, I get a window saying " error ... ANY clue as to what this ...
    (microsoft.public.windowsxp.perform_maintain)