Dear Tk Wizards,
I try to make some easy steps in Tk and I am facing a lot of very silly questions. Sorry for that.
The aim is to call windows OS WIN32 function:
WTSRegisterSessionNotification( HWNDCur, NOTIFY_FOR_THIS_SESSION)
with a windows handle. The Windows should be the window handle of the
toplevel given in the command "wm protocol toplevel protocol command".
The command gets a TkWindow structure with lots of members.
Now, which one is the Window handle?
I tried: TkWinGetHWND(winPtr) as shown here:
https://core.tcl-lang.org/tk/info/bded9fe3463781c7
Is this the right function ?
If yes, the message is not send in my example solution, when the windows
user is changed. Maybe any insights ?
I still have the book "TCL/Tk" by Jeffrey Hobbs. There is a chapter for
Tk programming. Maybee, this may help...
Thank you for any insight,
Harald
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)