summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a bug by adding code the check menu index in selection. This bug ↵chengyemao2005-01-181-4/+5
| | | | caused an access violation in an embedded menu testing when the mouse clicked the last pull-down menu entry
* Minor change for correct initial embeddedMenuHwndchengyemao2005-01-181-1/+2
|
* Simplified TkpUseWindow; got rid of unnecessary code for saving an embedded ↵chengyemao2005-01-171-53/+50
| | | | window info in a container struct; stopped using a destruction event handler for an embedded window since it has nothing to do
* minor bug fix: should return 0 and indicate handled after processing ↵chengyemao2005-01-171-5/+7
| | | | WM_MENUSELECT message
* Added TK_INFO message for use in an embedded window attachment protocol; ↵chengyemao2005-01-164-54/+112
| | | | modified TkpUseWindow to allow to attach to a legacy container with a warning; modified some return values of messages from an embedded window to differentiate a case of unprocessed
* Removed WM_UNINITMENUPOPUP that may cause compiling error in WINVER < 0x0500chengyemao2005-01-132-9/+3
|
* A better way to map an embbedded windowchengyemao2005-01-121-6/+35
|
* Minor bug fix to support embedding/embeddedchengyemao2005-01-122-12/+18
|
* corrected return values and added comments for embedded window messageschengyemao2005-01-101-23/+156
|
* properly handled returned value in wm for embeddedchengyemao2005-01-101-7/+11
|
* Modified to support a container of either a toplevel or a framechengyemao2005-01-091-13/+25
|
* Changed to make platform implementation ready for a toplevel -use option; ↵chengyemao2005-01-093-6/+61
| | | | completed a full toplevel -use option configuration for Windows
* bug fix [637653]chengyemao2005-01-091-3/+3
|
* Bug fix in ReconfigureWindowsMenu. The bug caused a wrong geometry of a ↵chengyemao2005-01-091-9/+1
| | | | toplevel when created with a menu (bug# 1098625)
* Modified to keep consistent state of an embedded windowchengyemao2005-01-091-1/+6
|
* Implemented TK_STAT message to support {wm state} for embedded windowchengyemao2005-01-074-9/+78
|
* Removed unnecsssary panic from TkpUseWindow and forced redraw container ↵chengyemao2005-01-071-5/+2
| | | | after the embedded detached
* Made the remarks of TkpUseWindow clearer regarding the embedding/embedded ↵chengyemao2005-01-051-6/+10
| | | | attachment protocol
* Modified for separating an embedded menu's window handler from a normal ↵chengyemao2005-01-042-13/+125
| | | | popup menu window's handler; improved an embedded menu display in Windows/XP
* * win/tkWinWm.c (TkWinWmCleanup): clean up layered window class.hobbs2005-01-041-2/+11
| | | | This caused crash in reinit of Tk (as seen in plugin).
* * win/tcl.m4, win/configure: update MSVC CFLAGS_OPT to -O2, removehobbs2004-12-302-13/+28
| | | | | | -Gs (included in -O2) and -GD (outdated). Use "link -lib" instead of "lib" binary and remove -YX for MSVC7 portability. Add -fomit-frame-pointer for gcc OPT compiles. [Bug 1092952, 1091967]
* Modified to support embedded menu widgetchengyemao2004-12-285-35/+120
|
* 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
|