TASKDIALOG - behind TCMD window

May 30, 2008
235
2
Using TCMD 12 build 36 on Windows 7.

I've noticed that when you use TASKDIALOG the displayed dialog is mostly placed *behind* the TCMD window. (You can get to it via e.g. Alt-Tab, but that is somewhat of a bother)

Generally the first TASKDIALOG shown in a TCMD tab window is ok, but subsequent ones are always placed behind the TCMD main window.

MSGBOX and QUERYBOX does not seem to have this problem. They get placed behind the TCMD window only when you click it while they are open, but they immediately "pop back" somehow.

When you run the dialogs in a TCC console window they are all modal and cannot get stuck behind it.

And while I'm on the subject, is there any way to display multi-line text in any of these dialogs? (Not only two different texts like TASKDIALOG has, but say 10 lines of text for instance).
 

rconn

Administrator
Staff member
May 14, 2008
12,406
152
Using TCMD 12 build 36 on Windows 7.

I've noticed that when you use TASKDIALOG the displayed dialog is mostly placed *behind* the TCMD window. (You can get to it via e.g. Alt-Tab, but that is somewhat of a bother)

Generally the first TASKDIALOG shown in a TCMD tab window is ok, but subsequent ones are always placed behind the TCMD main window.

MSGBOX and QUERYBOX does not seem to have this problem. They get placed behind the TCMD window only when you click it while they are open, but they immediately "pop back" somehow.

When you run the dialogs in a TCC console window they are all modal and cannot get stuck behind it.

And while I'm on the subject, is there any way to display multi-line text in any of these dialogs? (Not only two different texts like TASKDIALOG has, but say 10 lines of text for instance).

An old, old Windows bug. (Microsoft has known about it for years, but apparently hasn't deemed it important enough to fix.) MSGBOX and QUERYBOX definitely *do* have this problem, except that I added an especially nasty kludge to intercept the Windows APIs and force the popup window to the foreground. This is not doable with the task dialog popups.

You can display multiple lines by inserting LF's into your text.
 
Similar threads
Thread starter Title Forum Replies Date
Joe Caverly Documentation TASKDIALOG and ^n Support 1
Joe Caverly TASKDIALOG Help link error Support 1
vefatica MSGBOX, TASKDIALOG and @EXECARRAY Support 7
J Problem with TASKDIALOG Support 1
gschizas TaskDialog doesn't work in 64-bit Take Command Support 1
L left Behind Support 5
Jay Sage TCMD Macro Recorder Support 7
MickeyF equivalent to TCSTART.btm for TCMD? Support 4
D Fixed TCMD /X option Support 7
vefatica TCMD hides itself! Support 3
vefatica Tray min'd TCMD and ACTIVATE Support 6
C How to? starting TCC/TCMD v25 Support 2
CWBillow TCC and TCMD in Powershell Support 6
kb6ojs How to? "Specified Account Already Exists" error installing TCMD v27 Support 12
CWBillow TCMD Colors Support 8
Jay Sage Issues With TCMD File Explorer Support 0
C Last TCMD that supports win 7? Support 5
gentzel TCMD background color confusion Support 6
R Upgrade TCMD 19 to TCC 26 Support 1
Alpengreis Remaining TCMD background process (v26) ... Support 19
S Windows Server version not being detected correctly in TCMD 26RC2 Support 9
G TCMD crash when copy Support 3
Joe Caverly DrawVLine results different in TCMD tab and detached TCC Support 11
Alpengreis [TCMD v25.00.24] Small space problem with the DE translation in Prefs-GUI Support 1
Alpengreis [TCMD v25.00.24] Problem with copy and paste and the # char via mouse in TCC Support 6
Jay Sage TCMD Crashes with "tctoolbar /c /r file" Support 5
nikbackm TCMD 25 - Unregister older TCMD version Support 2
G Documentation on TCMD.INI Support 9
R New Clear Buffer in TCMD Home Menu Support 2
CWBillow Back up TCMD tabs Support 2
CWBillow Upgrade Windows 10's effect on TCMD and TCC Support 3
DrusTheAxe TCMD 24.02.49 x64 crashed due to DivideByZero :-( Support 4
A After update to 24.02.49, helpfile tcmd.chm hangs when opened Support 0
David McClelland TCMD 24 & Perl - perl thinks it's own executable is ...\TCMD24\TCC.EXE??? Support 3
dcantor How to? Can 32-bit TCC be run on a system with 64-bit TCMD and TCC installed? Support 6
W pdir returns diff results between tcc and tcmd - one is an error msg Support 5
vefatica What's TCMD's problem with ^e[0m? Support 13
CWBillow TCMD PowerShell Tab elevated Support 6
A How to? Copy+Paste in TCMD tabs with Ctrl-Shift-Ins? Support 5
vefatica TCMD output invisible on Win10 Support 22
J Moving from TCC v22 to TCMD v24 issues Support 3
RChrismon How to? Copy TCMD.INI to New Version Support 7
rps TCMD OPTIONS dialog Support 2
rps TCMD Tabs priority option setting Support 0
D Can we fix the scaling for TCmd? Support 14
CWBillow TCMD Tab Defs Support 4
A How to? TCMD Configuration Dialog: 'Smooth Scrolling' Option missing? Support 1
A Fixed [23.0.22]: TCMD crashes shortly after start, TCC keeps running in background Support 6
A TCMD - Dir Command puts out blank lines? Support 16
P Symantec Endpoint Protection trapped TCMD.EXE and said it contained WS.Reputation.1 (Virus?) Support 3

Similar threads