summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* Bug fix in TkpWinToplevelMove and TkpWinToplevelIsControlledByWmchengyemao2004-12-211-4/+8
|
* implemented overrideredirect for an embedded; corrected incorrect frame ↵chengyemao2004-12-205-28/+124
| | | | upper left x and y of an embedded toplevel
* Corrected handling of MacOS filetypes in tk_*file dialogsvincentdarley2004-12-201-10/+17
|
* featrue implementation of Tk container and embedded including TK_MOVEWINDOW, ↵chengyemao2004-12-205-78/+235
| | | | TK_ICONIFY, TK_DEICONIFY, TK_WITHDRAW; replaced TK_TITLE with TK_GETFRAMEWID for setting container's title across process boundary; bug fix in wm overrideredirect for TK_EMBEDDED window
* Bug fix and feature implementation of embedded/embedding Tkchengyemao2004-12-194-18/+133
|
* Bug fix [222677]chengyemao2004-12-181-25/+24
|
* Added comments to embedded Window message definitionchengyemao2004-12-181-6/+6
|
* bug fix (842945,831627)chengyemao2004-12-173-44/+24
|
* Bump to 8.5a3dkf2004-12-111-2/+2
|
* * win/makefile.vc: Shell targets needed more stack space. [Bug 1066755]davygrvy2004-11-261-4/+4
|
* * tests/wm.test: Add Win32 test cases for attributesmdejong2004-10-291-9/+11
| | | | | | subcommand. * win/tkWinWm.c (WmAttributesCmd): Fixup broken option processing logic for attributes subcommand.
* * win/tkWin32Dll.c (DllMain, _except_dllmain_detach_handler):mdejong2004-10-281-8/+48
| | | | | | | | Rework pushing of exception handler function pointer so that compiling with gcc -O3 works. Remove empty function call to avoid compiler warning. Mark the DllMain function as noinline to avoid compiler error from duplicated asm labels in generated code.
* * win/tkWinX.c: Signature for tkWinXCleanup needed to bedavygrvy2004-10-272-6/+8
| | | | | | | * generic/tkInt.decls: changed so it matches the Tcl_ExitProc * generic/tkIntPlatDecls.h: typedef to avoid a bad-style cast. * win/makefile.vc: Force TCL_LIBRARY envar when calling tclsh
* * win/tkWinRegion.c (TkpBuildRegionFromAlphaData): Fixed syntax errorpatthoyts2004-10-261-2/+2
| | | | * generic/tkImgPhoto.c (Tk_PhotoPutBlock): Removed unreferences vars.
* Attempt to fix [Bug 919066] by allowing the code that creates the regiondkf2004-10-261-1/+62
| | | | much more knowledge of the platform functions available to it.
* Add -hide and -stretch options to panedwindow widgets. (TIPs 177 and 179)dkf2004-10-241-1/+3
| | | | Thanks to Brian Griffin for developing these! [Patch 983886]
* * win/tkWinWm.c (UpdateWrapper): pass SWP_NOOWNERZORDER tohobbs2004-10-211-2/+3
| | | | | SetWindowPos when maintaining win Z order, to prevent parent from flashing (adjusting Z order).
* * doc/wm.n (iconphoto): added support for Tk photohobbs2004-10-051-6/+117
| | | | | | | | * generic/tkInt.h (TkDisplay): images as titlebar icons. TIP #159 * win/tkWinWm.c (WmIconphotoCmd): wm iconphoto ?-default? image1 ... * macosx/tkMacOSXWm.c (WmIconphotoCmd): Implemented for Win/Unix, * unix/tkUnixWm.c (WmIconphotoCmd): stubbed out for OS X. * tests/wm.test, tests/unixWm.test, tests/winWm.test: [Bug 815751]
* * win/tkWinX.c: Added declaration for advapi32 now that this filepatthoyts2004-09-241-1/+2
| | | | uses the Reg* functions (req'd for nmake build system).
* * win/tkWinInt.h (TkWinDisplayChanged): added declhobbs2004-09-233-70/+219
| | | | | | | | * win/tkWinX.c (TkWinDisplayChanged, TkpOpenDisplay): Correctly * win/tkWinWm.c (InvalidateSubTreeDepth, WmProc): handle color and screen resolution changes. Tested for 16/24/32 bpp changes on XP. May need more fixes for 8bpp switch, use of special colormaps, or other special palette handling cases. [Bug 223689]
* * generic/tkInt.decls: Add decl for TkWinGetPlatformTheme.mdejong2004-09-213-27/+95
| | | | | | | | | | | | | | | | It is only defined under Win32. * generic/tkIntPlatDecls.h: Regen. * generic/tkStubInit.c: Regen. * win/tkWinInt.h: Define TK_THEME_WIN_CLASSIC and TK_THEME_WIN_XP. * win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryLabel): Draw a disabled 3D text highlight for the accelerator only with the Win95/98 look. Same goes for the menu entry text. * win/tkWinX.c (TkWinGetPlatformId, TkWinGetPlatformTheme): Automatically detect the Windows theme in use and return either TK_THEME_WIN_CLASSIC or TK_THEME_WIN_XP when the TkWinGetPlatformTheme function is invoked. [Patch 866194]
* * win/tkWinWm.c: Rework WS_EX_LAYERED and LWA_ALPHAmdejong2004-09-211-3/+5
| | | | defines so that compiling with mingw works again.
* * win/tkWinWm.c (UpdateWrapper, WmAttributesCmd): handle attributehobbs2004-09-211-41/+41
| | | | | settings prior to window mapping and resort to more forceful wrapper update again for -toolwindow (to remove it from taskbar).
* (UpdateWrapper): don't adjust Z order of TOPMOST window.hobbs2004-09-191-13/+26
| | | | | (WmAttributesCmd): don't call UpdateWrapper for -disabled or -toolwindow attr changes.
* * win/tkWinWm.c (WmAttributesCmd): correct -alpha 0.0/1.0 settinghobbs2004-09-181-17/+14
| | | | and round the value.
* * doc/wm.n:hobbs2004-09-172-21/+159
| | | | | | * tests/winWm.test: Add 'wm attributes -alpha' to control toplevel * win/tkWinInt.h: alpha transparency on Win2K/XP+. * win/tkWinWm.c: TIP #222 [Patch 892194]
* * win/tkWinWm.c (UpdateWrapper): Ensure that we maintain Z orderhobbs2004-09-171-4/+30
| | | | | * tests/winWm.test: and focus of preexisting window when replacing the wrapper window.
* added VC7-safe environment check used in the Tcl makefile.vcdavygrvy2004-09-161-5/+7
|
* * win/tkWinWm.c (WmIconwindowCmd): Replace bogusmdejong2004-09-151-8/+3
| | | | | | | | call to XWithdrawWindow with proper code. This avoids a "couldn't send withdraw message to window manager" error when the iconwindow is already mapped. The wm iconwindow command does not seem to do much under Win32, but at least this avoids an error message.
* * win/tkWinWm.c (ReadIconFromFile): fix mem alloc to get the righthobbs2004-09-131-15/+10
| | | | size for both icons ('?:' order of precedence mistake).
* (UpdateWrapper): update to 2004-06-12 Kovalenko to account forhobbs2004-09-101-14/+16
| | | | | | whether the override window has a transient parent, and apply WS_POPUP in the correct case. The makes splash screens pop up as well as making dropdowns not grab focus away from the parent.
* * win/tkWinWm.c (ActivateWindow): SetFocus to grab window whenhobbs2004-09-101-4/+9
| | | | clicking outside the grab window hierarchy. [Bug 220908]
* include tkTest.c in list of files which depend on tkText.hvincentdarley2004-09-101-1/+2
|
* * win/tkWinWm.c (ReadIconFromFile): when using SHGetFileInfo tohobbs2004-09-101-22/+45
| | | | retrieve icon, get regular icon as well for correct Alt-Tab icon.
* Set TK_LIBRARY when execing Tk apps (test, runtest, rundemo).patthoyts2004-09-061-1/+4
|
* Make sure user_data is NULL everywhere it isn't set. [Bug 1021812]dkf2004-09-031-1/+2
|
* * macosx/tkMacOSXWm.c: Made use of Tcl_WrongNumArgs in a fewdgp2004-08-251-4/+2
| | | | * win/tkWinMenu.c: appropriate spots.
* * win/tkWinDialog.c (Tk_MessageBoxObjCmd): Inherit the icon fromhobbs2004-08-203-17/+140
| | | | | * win/tkWinInt.h: the -parent window for * win/tkWinWm.c (TkWinGetIcon): the MessageBox.
* * tests/canvText.test:mdejong2004-08-091-2/+2
| | | | | | | | | * win/tkWinFont.c (Tk_MeasureChars): Fix for text wrapping problem that appeared using canvas text under Win32. A long wrapping string that had leading spaces was being incorrectly wrapped. This change makes the Win32 implementation behave the same as the Unix implementation. [Patch 1006286]
* * unix/Makefile.in:das2004-07-201-1/+22
| | | | | * win/Makefile.in: added 'install-private-headers' makefile target to allow optionally installing private tk headers. [Tcl FR 922727]
* TIP#158 implementation; keypad keys on Win are now distinguishable.dkf2004-07-051-1/+8
|
* Fix for #742882 "Potential division by zero in gridded wm geometry"jenglish2004-06-161-5/+16
|
* win/tkWinButton.c: Add a 3D highlight to disabled *buttons anda_kovalenko2004-06-161-1/+25
| | | | labels, the same way as it's now done for disabled menu entries.
* * win/tkWinWm.c (UpdateWrapper): Let overrideredirect'ed window'sa_kovalenko2004-06-121-2/+10
| | | | | | wrapper be the child of desktop window, thus making it to behave more similarly to X11 Override Redirect. Esp. useful for combobox-like megawidgets.
* Finish off the TIP#152 implementation with Win implementation, tests & docs.dkf2004-05-241-12/+29
|
* Fixed bug 767176chengyemao2004-05-081-3/+3
|
* * win/tkWinFont.c (FindSubFontForChar): corrections to dkf patchhobbs2004-05-051-14/+16
| | | | to handle subFontPtrPtr in EnumFontFamilies callback.
* Fix FMR in subfont handling on Windows. [Bug 618872]dkf2004-05-051-15/+31
|
* * win/tkWinMenu.c, unix/tkUnixMenu.c (DrawMenuEntryLabel): placehobbs2004-05-031-16/+12
| | | | | images of compound menu entries in indicator space if not a radio of checkbutton. [Bug #756952] (eserte)
* * win/tkWinX.c: fix drawing of unicode chars in menuhobbs2004-05-033-5/+12
| | | | | * win/tkWinInt.h (TkWinProcs): titles. [Bug #904371] (riefenstahl) * win/tkWinMenu.c (ReconfigureWindowsMenu):