|[SWT] Using SWT App as Windows Application Desktop Toolbar [message #588394]
||Mon, 06 January 2003 19:11
| Jeff Sabin
Registered: July 2009
I am attempting to register my SWT app with Windows as an application|
desktop toolbar like the office taskbar or the start bar. I have native code
that registers the app based on the handle of the shell (the native code
works correctly by itself). Initially, the desktop is resized properly and
my app window is correctly positioned. But then the app's window is moved.
As best I can tell, the Windows messages that comes through when this
46h - WINDOWPOSCHANGING
24h - GETMINMAXINFO
47h - WINDOWPOSCHANGED
3h - WM_MOVE
in that order.
The SWT code looks like this:
Shell shell = new Shell(display, SWT_NONE);
// Add all widgets to shell
registerAsToolbar(shell.handle); // native call
Does anyone have any ideas for me? Anyone successfully done this before?
Powered by FUDForum
. Page generated in 0.02240 seconds