summaryrefslogtreecommitdiffstats
path: root/win/tkWinWm.c
Commit message (Collapse)AuthorAgeFilesLines
* * win/tkWinWm.c (WinSetIcon): Don't check resultmdejong2005-12-101-33/+16
| | | | | | | of SetClassLong() or SetClassLongPtr() since it was generating an incorrect error and the MSDN docs indicate that the result need not be checked.
* More fixes (mostly getting rid of excess spaces)dkf2005-12-021-341/+342
|
* Fix problems in last commitdkf2005-12-021-181/+183
|
* ANSIficationdkf2005-12-021-1658/+1869
|
* * win/tkWinWm.c (WmAttributesCmd): set (no)topmost window aspecthobbs2005-12-011-2/+14
| | | | before rewrapping. [Bug 1086049]
* Fixed bug #1311734chengyemao2005-10-051-4/+4
|
* Fixed bug# 1283635chengyemao2005-09-111-5/+5
|
* Fixed bug# 1283635chengyemao2005-09-111-3/+4
|
* * macosx/tkMacOSXWm.c (TkWmStackorderToplevelWrapperMap, ↵mdejong2005-04-071-5/+7
| | | | | | | | | | | TkWmStackorderToplevel): * unix/tkUnixWm.c (TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): * win/tkWinWm.c (TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel): Fix panic in wm stackorder when a toplevel is created on another diplay. The code now ignores toplevels that have a display that does not match the display of the parent window. [Bug 1152809]
* (WinSetIcon): fix GCLP_ICONSM -> GCLP_HICONSMhobbs2005-03-081-2/+2
|
* * doc/wm.n: Add documentation for -fullscreen attribute.mdejong2005-02-171-5/+137
| | | | | | | | | | | * tests/winWm.test: Add -fullscreen to wm attribute usage message. * tests/wm.test: Add -fullscreen to wm attribute usage message. Add -fullscreen attribute test cases for Windows. * win/tkWinWm.c (WmInfo, UpdateWrapper, TkpWmSetFullScreen, WmAttributesCmd, UpdateGeometryInfo): Implement TIP 223 [wm attributes -fullscreen].
* * win/tkWinWm.c (TkWinGetIcon): fix toplevel retrieval forhobbs2005-02-111-10/+11
| | | | determining icon ref (potential crash). [Bug 1105738]
* Modified to handle a wide-character title string of a toplevelchengyemao2005-01-311-4/+8
|
* Added TK_INFO message for use in an embedded window attachment protocol; ↵chengyemao2005-01-161-6/+6
| | | | 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-131-2/+1
|
* Minor bug fix to support embedding/embeddedchengyemao2005-01-121-9/+10
|
* properly handled returned value in wm for embeddedchengyemao2005-01-101-7/+11
|
* Changed to make platform implementation ready for a toplevel -use option; ↵chengyemao2005-01-091-2/+35
| | | | completed a full toplevel -use option configuration for Windows
* 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-071-6/+61
|
* Modified for separating an embedded menu's window handler from a normal ↵chengyemao2005-01-041-8/+6
| | | | 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).
* Modified to support embedded menu widgetchengyemao2004-12-281-30/+40
|
* Bug fix in TkpWinToplevelMove and TkpWinToplevelIsControlledByWmchengyemao2004-12-211-4/+8
|
* implemented overrideredirect for an embedded; corrected incorrect frame ↵chengyemao2004-12-201-13/+69
| | | | upper left x and y of an embedded toplevel
* featrue implementation of Tk container and embedded including TK_MOVEWINDOW, ↵chengyemao2004-12-201-58/+198
| | | | 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-191-8/+22
|
* bug fix (842945,831627)chengyemao2004-12-171-12/+12
|
* * 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/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/tkWinInt.h (TkWinDisplayChanged): added declhobbs2004-09-231-1/+107
| | | | | | | | * 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]
* * 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-171-20/+157
| | | | | | * 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.
* * 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]
* * win/tkWinWm.c (ReadIconFromFile): when using SHGetFileInfo tohobbs2004-09-101-22/+45
| | | | retrieve icon, get regular icon as well for correct Alt-Tab icon.
* * win/tkWinDialog.c (Tk_MessageBoxObjCmd): Inherit the icon fromhobbs2004-08-201-15/+86
| | | | | * win/tkWinInt.h: the -parent window for * win/tkWinWm.c (TkWinGetIcon): the MessageBox.
* Fix for #742882 "Potential division by zero in gridded wm geometry"jenglish2004-06-161-5/+16
|
* * 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.
* Fixed bug 767176chengyemao2004-05-081-3/+3
|
* * generic/tk3d.c: All uses of 'panic' (the macro) changeddavygrvy2004-01-131-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkBind.c: to 'Tcl_Panic' (the function). The #define * generic/tkBitmap.c: of panic in tcl.h clearly states it is * generic/tkCanvArc.c: deprecated in the comments. * generic/tkCanvBmap.c: [Tcl Patch 865264] * generic/tkCanvImg.c: * generic/tkCanvLine.c: * generic/tkCanvPoly.c: * generic/tkCanvText.c: * generic/tkCanvWind.c: * generic/tkColor.c: * generic/tkConfig.c: * generic/tkCursor.c: * generic/tkError.c: * generic/tkEvent.c: * generic/tkFocus.c: * generic/tkFont.c: * generic/tkFrame.c: * generic/tkGC.c: * generic/tkGrid.c: * generic/tkImgBmap.c: * generic/tkImgPhoto.c: * generic/tkImgUtil.c: * generic/tkMenu.c: * generic/tkObj.c: * generic/tkPack.c: * generic/tkPlace.c: * generic/tkRectOval.c: * generic/tkSelect.c: * generic/tkText.c: * generic/tkTextBTree.c: * generic/tkTextDisp.c: * generic/tkTextImage.c: * generic/tkTextIndex.c: * generic/tkTextMark.c: * generic/tkTextWind.c: * generic/tkVisual.c: * generic/tkWindow.c: * mac/tkMacAppInit.c: * mac/tkMacAppearanceStubs.c: * mac/tkMacButton.c: * mac/tkMacDraw.c: * mac/tkMacEmbed.c: * mac/tkMacFont.c: * mac/tkMacInit.c: * mac/tkMacMenus.c: * mac/tkMacPort.h: * mac/tkMacSubwindows.c: * mac/tkMacWm.c: * mac/tkMacXStubs.c: * macosx/tkMacOSXEmbed.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXPort.h: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * unix/tkUnix3d.c: * unix/tkUnixColor.c: * unix/tkUnixEmbed.c: * unix/tkUnixEvent.c: * unix/tkUnixFocus.c: * unix/tkUnixFont.c: * unix/tkUnixSelect.c: * unix/tkUnixSend.c: * unix/tkUnixWm.c: * win/tkWin3d.c: * win/tkWinButton.c: * win/tkWinColor.c: * win/tkWinDialog.c: * win/tkWinDraw.c: * win/tkWinEmbed.c: * win/tkWinFont.c: * win/tkWinPixmap.c: * win/tkWinPointer.c: * win/tkWinScrlbr.c: * win/tkWinWm.c: * win/tkWinX.c:
* Check for TK_ALREADY_DEAD to avoid handling of dead windows.a_kovalenko2003-12-161-2/+2
|
* opps.. paren typodavygrvy2003-12-161-3/+3
|