Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 1998-08-03
6
Medium Priority
?
183 Views
Last Modified: 2010-04-15
 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
Comment
Question by:ajam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 1

Expert Comment

by:marvinm
ID: 1251936
use CreateWindowEx() with extended style WS_EX_TOPMOST.
0
 
LVL 1

Expert Comment

by:marvinm
ID: 1251937
If your using windows API that is.
0
 

Author Comment

by:ajam
ID: 1251938
Edited text of question
0
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.

 
LVL 2

Expert Comment

by:duneram
ID: 1251939
or use SetWindowPos API with HWND_TOPMOST for the handle to the window of your toolbar.
0
 
LVL 11

Expert Comment

by:alexo
ID: 1251940
I suggest you delete this question and ask again in the OS/2 area.
This really isn't about the C language...
0
 
LVL 5

Accepted Solution

by:
nebeker earned 100 total points
ID: 1251941
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

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question