Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2009
    Posts
    172

    how to show dialogex on taskbar?

    Hi

    needed show one dialogex in taskbar, like this:

    (image of worm)


    with windows set pos this is possible? (but taskbar size is variable on windows versions XP, WIn7, etc...)

    thanks

  2. #2
    Join Date
    Jul 2007
    Posts
    1,512
    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.

  3. #3
    Join Date
    Jan 2009
    Posts
    172
    no ... I've only used her image to see where I want to show DIALOGEX ...

  4. #4
    Join Date
    May 2006
    Posts
    5,380
    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
    Open your eyes to Narcissism, Don't let her destroy your life!!

  5. #5
    Join Date
    May 2006
    Posts
    5,380
    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

    Code:
    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)
    Open your eyes to Narcissism, Don't let her destroy your life!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts