• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 185
  • Last Modified:

C application a float on top of an application written in another language

 I have an smalltalk application that takes up the entire screen and a c toolbar application.

      I want the c toolbar application  to stay a float on top of the smalltalk application without taking focus from the smalltalk application.

      OS/2 Warp client - non windows
      How do I do this?
      Need code.
thanks
0
ajam
Asked:
ajam
1 Solution
 
marvinmCommented:
use CreateWindowEx() with extended style WS_EX_TOPMOST.
0
 
marvinmCommented:
If your using windows API that is.
0
 
ajamAuthor Commented:
Edited text of question
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
duneramCommented:
or use SetWindowPos API with HWND_TOPMOST for the handle to the window of your toolbar.
0
 
alexoCommented:
I suggest you delete this question and ask again in the OS/2 area.
This really isn't about the C language...
0
 
nebekerCommented:
You can't do this in OS/2, since it doesn't have the "always on top" flag that is found in windows.  The best you can do is make the toolbar a child window of the main application, and display it as a modeless dialog.  That will allow the main window to be active and still show the toolbar dialog.

However, with this approach, if the user activates any other application, your toolbar will be covered up.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now