Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » [SWT] Using SWT App as Windows Application Desktop Toolbar
[SWT] Using SWT App as Windows Application Desktop Toolbar [message #588394] Mon, 06 January 2003 19:11
Jeff Sabin is currently offline Jeff SabinFriend
Messages: 2
Registered: July 2009
Junior Member
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
happens are:
3h - WM_MOVE

in that order.

The SWT code looks like this:

Shell shell = new Shell(display, SWT_NONE);
shell.setSize(display.getClientArea().width, 35);

// Add all widgets to shell;
registerAsToolbar(shell.handle); // native call
if (!display.readAndDispatch()){

Does anyone have any ideas for me? Anyone successfully done this before?

Previous Topic:Xterm console as Eclipse view
Next Topic:SWT, ActiveX control and Java Applet
Goto Forum:

Current Time: Sun Oct 21 12:32:46 GMT 2018

Powered by FUDForum. Page generated in 0.02240 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top