View Full Version : how to show dialogex on taskbar?
Tomasin
10-10-2009, 03:56 AM
Hi
needed show one dialogex in taskbar, like this:
(image of worm)
http://www.indigorose.com/forums/attachment.php?attachmentid=2770&d=1134710148
with windows set pos this is possible? (but taskbar size is variable on windows versions XP, WIn7, etc...)
thanks
rexzooly
10-10-2009, 05:20 AM
what you see there is worms popup message demo this is not a dialogEX box.
this was out way before DialogEX was even in ams.
if you want something like that with cusomable bodys then i say buy his plugin played with a demo once and i say its worth it.
Tomasin
10-10-2009, 05:41 AM
no ... I've only used her image to see where I want to show DIALOGEX ...
RizlaUK
10-10-2009, 08:01 AM
HIS image, lol
you just need to retrieve the size of the users screen, the size and position of the taskbar and the size of your dialog, a little math and you can place it where ever you want
anyone got a copy of my taskbar.dll for this guy
RizlaUK
10-10-2009, 08:11 AM
forget the dll, install the memory plugin, with that you will never need a dll again, lol
get the taskbar size, pos with the below code, and work out from there where to place your dialog
Shell_TrayWnd = DLL.CallFunction(_SystemFolder.."\\user32.dll", "FindWindowA", "\"Shell_TrayWnd\",0", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL);
-- create RECT Structure that have 4 long or int fields
local Struct = Memory.CreateStructure("int, int, int, int")
DLL.CallFunction("user32.dll", "GetWindowRect", Shell_TrayWnd..",".. Struct, DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL);
local rc={}
rc.left = Memory.GetStructureData(Struct, 1)
rc.top = Memory.GetStructureData(Struct, 2)
rc.right = Memory.GetStructureData(Struct, 3)
rc.bottom = Memory.GetStructureData(Struct, 4)
strText="Left:"..rc.left.."\r\n"
strText=strText.."Top:"..rc.top.."\r\n"
strText=strText.."Right:"..rc.right.."\r\n"
strText=strText.."Bottom:"..rc.bottom.."\r\n"
result = Dialog.Message("Notice", strText, MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
Memory.FreeStructure(Struct)
Powered by vBulletin™ Version 4.0.6 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.