Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: nater
  • Content: Threads
  • Order by date
  1. nater

    Justification of text in MessageDlg

    OK, does the justify option not work in the BWidget MessageDlg? Whether I do MessageDlg .msgdlg -parent . -message "Why doesn't\nthis thing work?" -type ok -justify center -icon info or even MessageDlg .msgdlg -parent . -message "Why doesn't this thing work?&quot...
  2. nater

    TCL Bug

    Found a minor bug - I think - in TCL.. Specifically, regexp can't seem to store a match into an entry text variable. IE set entryspace "Initial" entry .e -textvar entryspace set head "Line header:" set inline "Line header: entry" set yap [regexp "$head...
  3. nater

    Allow user to run C program w/ TCL, without installing TCL/TK

    Hi all.. I'd like to find some way to allow a user to run a C program I've written with a TK GUI (I used Tk_Main to incorporate tk into my C code) without having to install TCL/TK. I thought this would be a simple matter of throwing some .dlls in the directory, but once I put in Tcl83.dll and...
  4. nater

    Tcl_LinkVar

    Also, I'm attempting to link a C++ string to a TCL variable, and can't seem to do it. With the following code, I get strange behavior, such as the string being set to the *name* of the TCL variable. I assume I'm being an idiot and confusing the pointers or something, but I can't get it to...
  5. nater

    Creating wish-like app with Tk_Main

    Hi. I'm trying to run a TK script from a c++ program using Tk_Main. It all works, but by default, Tk_Main creates an interactive shell. Instead, I just want to run a script (file), then exit. (So all I would get is the wish-like window, not the console. I've tried setting...
  6. nater

    Binding events to tk window close

    I'm trying to run an event (for example "Do you want to save settings before closing") to the 'X' button of a TK application. (Ideally I'd like to set this to run however the window is closed. IE ALT-F4, or a kill or end task, but if that's not possible, just adding a binding to the...

Part and Inventory Search

Back
Top