summaryrefslogtreecommitdiffstats
path: root/win/tkWinDialog.c
Commit message (Collapse)AuthorAgeFilesLines
* [Bug #3071836]: Crash/Tcl_Panic on WinXP saving file to C:\nijtmans2010-11-241-2/+5
| | | FossilOrigin-Name: 94cb1f50c3e98731698471520a7fba21256908c6
* [FRQ 2965056]: Windows build with -DUNICODEnijtmans2010-11-031-646/+78
| | | FossilOrigin-Name: c9f9a85985ce41ff33e6dbf7d9f3742f7ba746bf
* Move definitions of WINVER/_WIN32_WINNT to one place, now that we only ↵nijtmans2010-09-131-3/+1
| | | | | support Win2000+ FossilOrigin-Name: 4d9f550b05597e8d8e20990a90c9e79086575d3e
* Make compilable with -DUNICODE, or mark files with a TODO which are not done ↵nijtmans2010-09-101-1/+7
| | | | | | | | yet. tkWinPort.h: mingw/cygwin fixes: <tchar.h> should always be included here. FossilOrigin-Name: bf1b459784d2582097fc588b20ad9ef01b575112
* Fix [Bug #3002230]: tk_chooseDirectory returns garbage on cancelnijtmans2010-05-171-1/+8
| | | FossilOrigin-Name: 130afa52aa06d017c740deae42c28399f76e6e06
* [Patch #2999920]: Optimize Internal Virtual event string operationsnijtmans2010-05-171-3/+23
| | | | | | [Bug #2987995]: Tk_getOpenFile returns garbage under described circumstances FossilOrigin-Name: d81586bc83928212c0137557d955ec3e4880ed86
* Define OPENFILENAME_SIZE_VERSION_400 if needednijtmans2010-04-201-1/+5
| | | FossilOrigin-Name: 4c267ddbf7e09cd2f4bfa10f2d4cf27d58c432a5
* [Patch 2898255]: Filenames limit with Tk_GetFileName()nijtmans2010-04-191-3/+13
| | | | | | Assure modern style dialogs where available FossilOrigin-Name: a8a07446836e51395926f6723bce14fa0e507117
* Fix [Bug 2987995]: Tk_GetOpenFile returns garbage under described circumstancesnijtmans2010-04-191-5/+5
| | | FossilOrigin-Name: 8b2578c295dd769d960b8bbdc0e0b97591a479fb
* Make more internal tables "const"nijtmans2010-02-051-2/+2
| | | | | | tk*Decls.h (regenerated with new genStubs.tcl from Tcl) FossilOrigin-Name: 8aee73fed18ac81340663aabceb60068fb919412
* Eliminate tkpMenubuttonClassnijtmans2010-01-131-3/+3
| | | | | | | make tkpButtonProcs CONST fix gcc warnings: missing initializer FossilOrigin-Name: 621b74296faf0808383caf277e5d114a4ed2560a
* Patch 289825: Enable unlimited multiple file selection from the open files ↵patthoyts2010-01-051-112/+304
| | | | | dialog FossilOrigin-Name: e47383bdeb6909044a7f4e9647b20ad095f330a7
* cast away const needed for msvc6 when calling Tcl_SetResultpatthoyts2010-01-031-2/+3
| | | FossilOrigin-Name: c432e0c1c13c1e0c58435d930169c4a2bee93592
* Make the handling of the filter index the same as in GetFileNameW!dkf2009-10-221-33/+20
| | | FossilOrigin-Name: b8992e927853a313b82a0ee24d0c05b16c272e87
* Deal with [Patch 2168768], so making the -typevariable option work consistentlydkf2009-10-221-232/+239
| | | | | | with global variables (the only way it *can* work...) FossilOrigin-Name: 251fa0e47d3e97b98b81c6595257caa9ce5060a1
* eliminate various gcc and msvc compiler warningsnijtmans2009-08-021-2/+4
| | | FossilOrigin-Name: e908bb31a31e49f07939d80a1fbf83db8a02c83d
* * win/tkWinDialog.c (ChooseDirectoryValidateProc): no need to sethobbs2009-04-241-3/+2
| | | | | | cwd on selchange. Prevents delete of selected folder in dialog. FossilOrigin-Name: 72af3e84f800d87339e219e65fc37e087dff9cbd
* * win/tkWinDialog.c (Tk_ChooseDirectoryObjCmd): enable the newhobbs2009-04-231-6/+16
| | | | | | | style choosedir that has a "New Folder" button, with ::tk::winChooseDirFlags override for new behavior. [Bug 2779910] FossilOrigin-Name: 8d3d53e9123c03356e2a426a6f2dd71a3feea293
* - eliminate some unnessary type castsnijtmans2009-01-281-10/+10
| | | | | | | - some internal const decorations - spacing FossilOrigin-Name: 380696cadafe40c73feee0f0b45084587f31f011
* Use task modal rather than system modal for messageboxes and use ↵patthoyts2009-01-061-2/+5
| | | | | MB_SETFOREGROUND to get the user notification if the application is not the foreground application (flashing in the taskbar). [Bug 2484771] FossilOrigin-Name: f40fb8fd3092f1fa35853a117fbad16c469ea066
* remove unused variablesnijtmans2008-12-161-4/+2
| | | FossilOrigin-Name: a26db0ec359b7190eb64501c45f84f0ad4527367
* Fix some problems running the tests on windows. As Tk tests run in ↵patthoyts2008-12-101-1/+2
| | | | | -singleproc 1 we cannot do the script testing without damaging the later native tests. FossilOrigin-Name: 45d20e310417808796fa175221679bf9f466939e
* Fixed windows build glitches for tip 324patthoyts2008-12-101-3/+3
| | | FossilOrigin-Name: 9d03b9da5ee2ead87f5d59b9039837ef24f7fab8
* TIP #324 IMPLEMENTATIONdas2008-12-101-1/+540
| | | FossilOrigin-Name: 7946dc2242dda6d99b301092e8559037911722fe
* Lots of small changes to make code more pretty and C89-like.dkf2008-11-081-3/+2
| | | FossilOrigin-Name: 782ccc1d4281d79d7cd4e7db9add4b5aceba18fe
* Add "const" to many internalnijtmans2008-10-171-12/+12
| | | | | | | | | | const tables, so those will be put by the C-compiler in the TEXT segment in stead of the DATA segment. This makes those table sharable in shared libraries. FossilOrigin-Name: da3819dbb53904a418b6098f3b103df483c53304
* Greatly clean up Tk's handling of the writability of the Tcl result object.dkf2008-10-051-8/+10
| | | FossilOrigin-Name: a83341a36174d2059bc339dea19260a38eda5a01
* Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-19/+19
| | | FossilOrigin-Name: ddfd8bb6f7ecfa71a218a5dc88075a419e3e1d5c
* Fixed bug #1941740: tk_chooseColor -title was broken in revision 1.40 after ↵patthoyts2008-04-141-2/+4
| | | | | some code cleanup. Added tests for this windows dialog to avoid regression. FossilOrigin-Name: e4f93664ad5c5b2e85c699dbd4f3511414ddf203
* * win/tkWinDialog.c (Tk_MessageBoxObjCmd): pass "" instead of NULLhobbs2008-01-311-2/+2
| | | | | | when -title isn't set. [Bug #1881892] FossilOrigin-Name: 07b20b3d6dd588f6126090e4284e8168b8567727
* merge stable branch onto HEADdgp2007-12-131-1/+1
| | | FossilOrigin-Name: e7868b44c1e7bffc63a053b87a96a4499757f80d
* * win/tkWinButton.c, win/tkWinDialog.c: use SetWindowLongPtr andhobbs2007-12-051-10/+1
| | | | | | | * win/tkWinScrlbr.c, win/tkWinWm.c: GetWindowLongPtr only. * win/ttkWinMonitor.c: FossilOrigin-Name: cd313364da3ae8c04f92ed28df419a2e5c5ec07c
* * doc/getOpenFile.n: TIP#242 implementation of -typevariable tohobbs2007-10-251-29/+89
| | | | | | | | | | | * library/tkfbox.tcl: return type of selected file in file dialogs. * library/xmfbox.tcl: [Bug #1156388] * macosx/tkMacOSXDialog.c: * tests/filebox.test: * tests/winDialog.test: * win/tkWinDialog.c: FossilOrigin-Name: 32679bf38647e40e47ad512d393e4e2004cacfb9
* Assorted minor cleanups.dkf2007-09-081-5/+5
| | | FossilOrigin-Name: 2a5cff56d4709ff5cc546122512d6375136e11a2
* Fix bug #1692927 (buffer length problems). Added 'testfindwindow' and ↵patthoyts2007-08-011-32/+17
| | | | | | | | | 'testgetwindowinfo' and extended 'testwinevent' for WM_COMMAND support to enable testing native messagebox dialogs and added a new test file to use these functions. FossilOrigin-Name: 4f70dc5e0eaec70df201c34e6caf50b7acd35122
* Many minute fixes to reduce number of minor warnings from GCC.dkf2007-01-111-2/+2
| | | FossilOrigin-Name: 07047209ee3fabf64df75844ccc749416e247cd7
* ANSIficationdkf2005-12-021-46/+31
| | | FossilOrigin-Name: 1be88f1039a57d37b1f4567340d02ca39ddb3575
* Error fixes in GetFileNameW and GetFileNameAchengyemao2005-11-111-3/+3
| | | FossilOrigin-Name: a0677d9fce1343e129e82c3b4606638f940f0cb2
* Fix [Bug 1353022]dkf2005-11-101-4/+13
| | | FossilOrigin-Name: 0a73d59dfa1a185dc7c7e8e969817579fad21c42
* Factor out external-filename-to-internal code; the same pattern occurred a lot!dkf2005-11-101-199/+145
| | | FossilOrigin-Name: 3bb33a97dbb5d25b64b704ee894fbdd63f7f698c
* * win/tkWinDialog.c (ChooseDirectoryValidateProc): reset storedhobbs2005-10-051-449/+2
| | | | | | | path to "" if it doesn't exist and -mustexist is true. [Bug 1309218] Remove old-style dir chooser (no longer used). FossilOrigin-Name: c25328da60212d55816cc41e1c8e7416699ef361
* Getting more systematic about styledkf2005-08-101-818/+834
| | | | | | | Also start removing _ANSI_ARGS_; the core's required ANSI C for a while now Also fix [Bug 1252702]; size_t doesn't mix with Tcl_GetStringFromObj FossilOrigin-Name: 95ed0f915e157968e866e731484ea64d379250ec
* Corrected handling of MacOS filetypes in tk_*file dialogsvincentdarley2004-12-201-10/+17
| | | FossilOrigin-Name: 8816a87828f214c5ce538f7a1a491c25b36283e3
* * win/tkWinDialog.c (Tk_MessageBoxObjCmd): Inherit the icon fromhobbs2004-08-201-1/+48
| | | | | | | * win/tkWinInt.h: the -parent window for * win/tkWinWm.c (TkWinGetIcon): the MessageBox. FossilOrigin-Name: 01d4886a1607efaa4eb215369204f12db9338e79
* Finish off the TIP#152 implementation with Win implementation, tests & docs.dkf2004-05-241-12/+29
| | | FossilOrigin-Name: 6234cffff3231ed2a536c27406b4cb25ad102f6f
* * win/tkWinDialog.c (ChooseDirectoryValidateProc): create a pidlhobbs2004-02-131-7/+40
| | | | | | | for -initialdir if we have a UNC path because BFFM_SETSELECTION doesn't support UNC paths in strings. FossilOrigin-Name: f51839469968605b45efc7997cffcd352cbbe96b
* * generic/tk3d.c: All uses of 'panic' (the macro) changeddavygrvy2004-01-131-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: FossilOrigin-Name: a08e5aacfc9f6c5a344c2d05454773dac90710c2
* * win/tkWinDialog.c: Applied patch from bug #611615 which fixes apatthoyts2003-07-281-1/+52
| | | | | | | problem with double clicks in file dialogs falling through to the window underneath in win32. FossilOrigin-Name: 82e8c7922a5424b3bae9a04d53f06557990ad8e8
* * win/tkWinDialog.c: doubled the TK_MULTI_MAX_PATH value to ~10K.hobbs2003-07-181-3/+3
| | | | | | | This is a short-term solution until the -multiple option is extended. [Bug 641261] FossilOrigin-Name: a9fd8224dbb76bc87fc1660a60f2a9c342038030
* * win/tkWinDialog.c (Tk_ChooseDirectoryObjCmd,mdejong2003-01-141-5/+4
| | | | | | | | | | ChooseDirectoryValidateProc, Tk_MessageBoxObjCmd): Remove unused tsdPtr variable. Use TEXT macro instead of _T macro since _T does not work under Cygwin. Declare flags as UINT to avoid compiler warning when compiling with mingw. FossilOrigin-Name: 122cf82b9fe88057c4f4b0fa21304f7b6e08fbee