--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote:
>
> > Is it because MS changed the control from SysTabControl32 to
> > ToolbarWindow 32? Anyway, I think the user himself can do it in a
> > script way using dll plugin, if he is desparate enough. It seems 
> to me
> > just a more complicated adaptation of the statusbar script I wrote 
> before:
> > http://tech.groups.yahoo.com/group/power-pro/message/28208
> > 
> > OTOH, I just found this article:
> > 
> > http://www.codeproject.com/csharp/taskbarsorter.asp
> 
> Yes, this person has done the reverse engineering which works on his 
> system.  It would only work for XP and possibly Vista.  

Yes, it only works in XP and higher.

> Note that if you want to actually know what window is represented by 
> a button (eg to sort based on window class), AFAIK and according to 
> this article, you have to get into the memory space of the explorer 
> process.  I don't think you can set a getbutton message and get a 
> valid dwData pointer across processes. The author used memory access 
> routines;

Right. The statusbar script uses exactly the same method to cross the
memory boundary.

> I tend to work with global hooks.

Most of the apps of this kind seem to use hooks. So, it may be a
better solution, but I know little about hooks and/or dll-injections.

> wanted to move buttons, perhaps you could work with the movebutton 
> messages.  But I don't see how you could do drag and drop.  Can you 
> think of a reasonable use interface without being able to get at the 
> hwnd of the button represented.

Hmm, I haven't think about drag and drop. I found only one message
related with drag-and-drop: TB_GETOBJECT

It retrieves the pointer to the IDropTarget Interface. Will it be
enough? Unfortunately, I can't test it as there is no way to utilize
this kind of COM object yet, even with com/dll plugins (:Alan is well
aware of it, btw).

Sean




Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/power-pro/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to