Click to See Complete Forum and Search --> : Window Docking
john tindell
Mar 3rd, 2006, 07:09 PM
Hey in c# I used this (http://www.thecodeproject.com/csharp/csdoesshell3.asp) to dock windows.
Is there a way to docking windows in the same way in Java. I have searched around and have only found information about frameworks which you have to buy.
Any information about how to do this would be great. I know this could be done by re-writting the code above but I would prefer not to.
Thanks
ComputerJy
Mar 4th, 2006, 02:15 AM
C# uses windows kernel functions
[DllImport("user32.dll")]
public static extern UInt32 RegisterWindowMessage(
[MarshalAs(UnmanagedType.LPTStr)]
[DllImport("shell32.dll")]
public static extern UInt32 SHAppBarMessage(
UInt32 dwMessage, // Appbar message value to send.
ref APPBARDATA pData);
On the other hand java can't
john tindell
Mar 4th, 2006, 06:55 AM
I thought you could access windows DLL's from java. Oh well.Anyone know of a way to do this?
ComputerJy
Mar 4th, 2006, 07:04 AM
It looks like I was wrong
try this link
Load Dlls (http://community.borland.com/article/0,1410,20679,00.html)
john tindell
Mar 4th, 2006, 07:33 AM
Cheers will look into it :)
System_Error
Mar 8th, 2006, 05:28 AM
You could used JLayedPanes and then use a little math to position the layeredpane according to the position of the parent frame.
ComputerJy
Mar 8th, 2006, 07:22 AM
You could used JLayedPanes and then use a little math to position the layeredpane according to the position of the parent frame.
No
He was talking about external windows not frames
Andy_Hollywood
Mar 15th, 2006, 05:24 AM
Research the JDIC project, they might have something that will do it, i know they are making good advances in other native functionality, i.e. browsers, tray icons etc...
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.