WebHelp "Stay on top" option?
We are developing RH9 WebHelp and/or HTML Help for use on a corporate intranet viewed with the standard IE browser. In building the help content is there a way to force the IE window containing the help to always remain on top of user's desktop?
Thank you.
Hi there
I've seen JavaScripts used to coax a "stay on top" condition of browsers. They do exist. I've actually tested them.
However, before choosing to implement them you *seriously* need to consider the implications.
Whereas a typical Windows "Stay on top" allows the window to be always visible yet handing focus to another application where the user may work. But when you implement one of these javascript solutions, focus is always stolen and given back to the browser. This means the user is unable to switch away from the browser for any length of time whatsoever and it will be the cause of many computer crashes.
Not hard drive crashes, but computers crashing to the floor in utter frustration by your users.
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7, 8 or 9 within the day!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks
Similar Messages
-
"Always on TOP"option for my window
Hi All
I am developing an application in which I wanted to develop a facility for enabling "always stay on top" to one of the windows .How can I do this.
Thanks in advance
HarithaI solved this problem using JNI, and I think that is the only way to allow the "Alwasy on Top" option. Here's how I did it.
1. Create an extension of JFrame or JDialog or JWindow, whatever you want.
2. Add the native method setAlwaysOnTop()
import java.awt.*;
import javax.swing.*;
public class MyFrame extends JFrame {
static { System.loadLibrary("MyFrame"); }
public MyFrame() {
super();
public void setAlwaysOnTop(boolean b) {
int hwnd = getNativeWindowHandle(this);
seteAlwaysOnTop(hwnd, b);
private native int getNativeWindowHandle(Window window);
private native void setAlwaysOnTop(int hwnd, boolean flag);
*NOTE the getNativeWindowHandle method is required to manipulate the frame in native code
**NOTE I will take about the static { System.loadLibrary("MyFrame"); }
at the end.
3. Compile your code.
4. Next you must create a c or c++ source file, name it whate every you want, and then define the setAlwaysOnTop method.
Heres the code for the native file.
#include <jni.h>
#include <jawt.h>
#include <afxwin.h>
#include <windows.h>
#include "MyFrame.h"
#include "jawt_md.h"
JNIEXPORT jint JNICALL
Java_MyFrame_getNativeWindowHandle(JNIEnv *env, jobject jobj, jobject window)
JAWT awt;
awt.version = JAWT_VERSION_1_3;
jboolean result = JAWT_GetAWT(env, &awt);
if (result == JNI_FALSE)
return 0;
JAWT_DrawingSurface* ds = awt.GetDrawingSurface(env, window);
if (ds == 0)
return 0;
jint lock = ds->Lock(ds);
if ((lock & JAWT_LOCK_ERROR) != 0)
return 0;
JAWT_DrawingSurfaceInfo* dsi = ds->GetDrawingSurfaceInfo(ds);
if (dsi != 0)
return 0;
JAWT_Win32DrawingSurfaceInfo* dsiwin = (JAWT_Win32DrawingSurfaceInfo*) dsi->platformInfo;
jint ret = reinterpret_cast<jint>(dsiwin->hwnd);
ds->FreeDrawingSurfaceInfo(dsi);
ds->Unlock(ds);
awt.FreeDrawingSurface(ds);
return ret;
JNIEXPORT void JNICALL
Java_MyFrame_windowAlwaysOnTop(JNIEnv *env, jobject jobj, jint hwnd, jboolean flag)
if (flag)
SetWindowPos((HWND) hwnd,HWND_TOPMOST,0,0,0,0,SWP_NOMOVE|SWP_NOSIZE);
else
SetWindowPos((HWND) hwnd,HWND_NOTOPMOST,0,0,0,0,SWP_NOMOVE|SWP_NOSIZE);
*NOTE say your class MyFrame is in the package com.me.swing then the method prototype would look like this:
JNIEXPORT void JNICALL
Java_com_me_swing_MyFrame_windowAlwaysOnTop(JNIEnv *env, jobject jobj, jint hwnd, jboolean flag)
5. you may have noticed the #include "MyFrame.h" line, well that is generated by the javah command. So, next run javah on your MyFrame.class file. you will have to look at the options to configure the command to do what you want, but essentially "javah MyFrame.class".
6. Make sure your MyFrame.h file and MyFrame.c or MyFrame.cpp file is in the same directory and compile them into an object file. Now you will have to figure out how to do this on your own. First you must get a c++ compiler, I use Visual C++ form Microsoft. If you are using that then
here is the command line
cl -Ic:\j2sdk1.4.0\include -Ic:\j2sdk1.4.0\include\win32 /c -LD
-IMyFrame.h MyFrame.cpp
Execute this command from the directory where you MyFrame.h and MyFrame.cpp files are or you will have to specify their paths.
the -Ic:\j2sdk1.4.0\include -Ic:\j2sdk1.4.0\include\win32 provide path information to include the jni.h and jawt.h files.
7. Now you will have to link the object file with the jawt.lib file and create the final dll. Again you will have to figure how to do this, but with VC++ the command is.
link /DLL MyFrame.obj c:\j2sdk1.4.0\lib\jawt.lib
Now you should 8 have files
MyFrame.java
MyFrame.class
MyFrame.h *created form javah
MyFrame.cpp
MyFrame.obj *created from compiling
MyFrame.exp *created from compiling
MyFrame.lib *created from compiling
MyFrame.dll *created from linking
You are done, now create a main class and instanciate and test your new frame.
**REMEBER the static { System.loadLibrary("MyFrame"); } line in your MyFrame.java file. This loads your newly created dll into the system so you can access it.
**IMPORTANT THE MyFrame.dll AND THE MyFrame.class FILE MUST BE IN THE SAME DIRECTORY, OR SPECIFY IT IN THE System.loadLibrary METHOD CALL. -
Is there a utility to make whatever window I choose stay on top?
I've searched the forums, so if this question is answered, I apologize!
I was wondering if there is a utility program that would let me keep whatever window I choose stay on top of all my other windows I have open. I know iTunes can do this, but I'd like something system wide.
For example, if I'm working on a project in Final Cut Pro, but I have a client on-line with Yahoo Messenger, I'd like my chat box to stay "on top" of Final Cut pro, even though FCP would be my active program. I could do that with my old Windows computer, as the graphics card had a program to do it.
Any info would be helpful
Power Mac dual 2.5 Ghz G5 Mac OS X (10.4.3)Hi, Bill, a, and Mike —
Bill, I agree with Mike N. that unsanity's WindowShade X 4.0.2 is a 3rd-party app that may come close to what you want.
A caution. Thought I'd add — for your benefit, if you're unfamiliar with unsanity — that you should keep a close eye on other applications (and, potentially, your system) closely after its installation — should you choose to try WindowShade. Many folks (I'm one) have experienced bizarre behaviors after installing a "haxie" from unsanity. Also note that many are dependent on their Application Enhancer (APE) 1.5.1, which you may not notice has been installed (although it tells you so). Thankfully, their apps typically include an uninstall option that's accessible from System Preferences — and both the app and APE may need to be uninstalled if you observe problems.
And, fyi... Mac OS X itself provides application developers the ability to create windows that inherently meet your objective — they're termed "utility windows." The Apple Human Interface Guidelines describes them on pp. 169 and 194.
Warm regards to all,
Dean -
Breadcrumbs to have "Always on top option"
Hi,
In my webhelp I have enabled the bread crumbs option....Now,
I am having a small usability issue with this...
I maintain breadcrumbs on the top left side of the
page....When i scroll down the page, the breadcrumb is not visible
and hence i always have to scroll back to the top/bottom of the
page to navigate...
I just wanted to know if it is possible to always have the
bread crumbs at the top of the page regardless of the
scrolling..something like the "always on top option"..
Please let me now if this is possible in anyway..
thanks in advance for your help!!!Hi there
RoboHelp doesn't offer this functionality. But it doesn't
mean that you can't have it if you are determined. There are some
JavaScripts out there that can be used to achieve what you want.
Note, however, that it will require post processing your WebHelp
output to add the scripts to the pages.
You might wish to begin at the link below:
Click
here
Or this link:
Click
here
Cheers... Rick -
How to make Windows stay on top
Hi all
I was wondering if anyone knew how to make a window "Stay on top"
Sometimes when you are copying information from one window to the next you would like one "primary data entry window" stay on top, and a secondary window not overshadow the first when made active. This way you only see the part of the window that you are interested in copying.
Some programs like skype allow you to have the option as "always on top", but I was wondering if Tiger had the same feature for it's windows?
The other way around this problem is to re-size the secondary window, but I was hoping someone could tell me a way to keep a designated window as "always on top"
thanks in advance
BishanI think perhaps, that the closest you'll get to it, is by using the 'New Tab'
feature in File, where you can have several windows with quick access available while browsing. -
How can I script a Flash .exe file to always stay on top of all other windows?
Hi All,
I'm new to action script, and I just need this one script
> How can I script a Flash .exe file to always stay on top of
all other windows?
Basically what i want to do is have a flash-created
step-by-step instructional movie, but for the movie to remain on
top of all windows so the instructee is able to follow the
instructions on-screen...
It would be preferable to not have to buy another product
just to do this... as I said, this is the only scripting I need.
Thanks in advance
Cheers
Rickif you create your exe with mProjector you can use one of its
new AS
commands to do this.
setZOrder
http://www.screentime.com/software/mprojector/docs/mWin_setZOrder.htm
all APIS
http://www.screentime.com/software/mprojector/docs/index.html
Demo
http://www.screentime.com/software/mprojector/demo.html
mProjector installs new classes and help into Flash, to
enable them you
must build your app with mProjector (its input is your swf)
John Pattenden
Screentime Media - Flash Tools since 1997
http://www.screentime.com -
How do you make Flash Stay on top of any other programs
Does anyone know what script I can use to make my flash intro
stay on top of another .exe file that is going to open after my
intro starts. I need the other .exe to load in the background where
it is not visible to the user. I need my flash intro to stay on
top.
Thanks!!ShaneFred wrote:
> Does anyone know what script I can use to make my flash
intro stay on top of
> another .exe file that is going to open after my intro
starts. I need the
> other .exe to load in the background where it is not
visible to the user. I
> need my flash intro to stay on top.
only with 3rd party tools not with flash itself. Something
like Jugglor from
http://www.Flashjester.com
can do all the stuff you ask for and MORE...
Check out the features list :
http://www.flashjester.com/index.php?section=tricks_jugglor2
Take note that there is more tools of similar purpose,
however I did not use any
of these so can't comment on it. I have been using Jugglor
for 8 years now. Long
before any of the other tools came out so kind of get use to
it and it does all I need.
Anyway, just in case :
SWiSHstudio swishzone.com
Flash 'N Pack flashnpack.com
Flash Studio Pro multidmedia.com
FMProjector flashants.com
ICE Projector flashants.com
ScreenWeaver screenweavermx.com
SWF Kit Express swfkit.com
SWF Kit Pro swfkit.com
SWF Kit standard swfkit.com
SWF studio norhcode.com
If you need it urgently, please do not hesitate to ask, I can
"jugglor" the file
for you. Just upload the exe somewhere and I'll send it back
in a short while.
Regards
Urami
Happy New Year guys - all the best there is in the 2006 :)
<urami>
http://www.Flashfugitive.com
</urami>
<web junk free>
http://www.firefox.com
</web junk free> -
FIREFOX 3.6 PROBLEM WITH STAY ON TOP BUT 3.5 WORKS FINE
WHEN I USE FIREFOX 3.6 OR ANY VERSION OF THE 3.6 AND I SELECT STAY ON TOP (I HAVE A THIRD PARTY PROGRAM THAT ALLOWS THIS) AFTER I MINIMIZE THE WINDOW THEN IT WILL LOOSE THE STAY ON TOP COMMAND. ALTHOUGH WITH FIREFOX 3.5 VERSIONS IT KEEPS IT'S STAY ON TOP EVEN AFTER BEING MINIMIZED. iN FACT ALL OTHER MICROSOFT PROGRAMS DO NOT HAVE THIS PROBLEM PLEASE EXPLAIN WHY THIS IS
THANK YOU
'''Locking Duplicate Post. Continue [https://support.mozilla.com/en-US/questions/745759 here] -mjb'''
== This happened ==
Every time Firefox opened
== User Agent ==
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.125 Safari/533.4Not really.
-
FIREFOX 3.6 WILL NOT STAY ON TOP PROBLEM BUT 3.5 WORKS FINE
WHEN I USE FIREFOX 3.6 OR ANY VERSION OF THE 3.6 AND I SELECT STAY ON TOP (I HAVE A THIRD PARTY PROGRAM THAT ALLOWS THIS) AFTER I MINIMIZE THE WINDOW THEN IT WILL LOOSE THE STAY ON TOP COMMAND. ALTHOUGH WITH FIREFOX 3.5 VERSIONS IT KEEPS IT'S STAY ON TOP EVEN AFTER BEING MINIMIZED. iN FACT ALL OTHER MICROSOFT PROGRAMS DO NOT HAVE THIS PROBLEM PLEASE EXPLAIN WHY THIS IS
THANK YOU
== User Agent ==
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.125 Safari/533.4Firefox 3.0 and 3.5/6 versions require at least Mac OS X 10.4
http://www.mozilla.com/en-US/firefox/system-requirements.html - Mozilla Firefox 3.6 System Requirements
Firefox 2.0.0.20 is the last release that runs on Mac OS X 10.2 and 10.3
See:
* http://kb.mozillazine.org/Installing_Firefox
* http://kb.mozillazine.org/Unsupported_operating_systems
Mac: https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.20/mac/en-US/
Other browsers that you can look at:
http://caminobrowser.org/download/releases/ (#os10.3.8)
[http://en.wikipedia.org/wiki/ICab iCab]: http://www.icab.de/
http://www.seamonkey-project.org/releases/seamonkey1.1.19 -
Openbox - Conky stays on top due to Cairo Compmgr
My conky stays on top due to Cairo Compmgr. I know that cause when I disable Cairo Compmgr, Conky runs without problems.
This is my conkyrc
own_window yes
own_window_transparent yes
own_window_argb_visual yes
own_window_type override
on_bottom yes
own_window_class conky-semi
own_window_hints undecorated,below,skip_taskbar
# Use Xft?
use_xft yes
xftfont Droid Sans:size=8
xftalpha 0.8
text_buffer_size 2048
# Update interval in seconds
update_interval 1
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type override
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 180 0
maximum_width 280
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_margin 5
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
#default_outline_color white
own_window_colour white
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 20
gap_y 10
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none
TEXT
$nodename
System ${hr 2}
Kernel: ${alignr}${kernel}
Uptime: ${alignr}${uptime}
CPU1: ${cpu cpu0}% ${alignr}${cpubar cpu0 8,60}
CPU2: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
CPU3: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
CPU4: ${cpu cpu3}% ${alignr}${cpubar cpu3 8,60}
${color white}${cpugraph cpu0 32,309 000000 7f8ed3}
RAM: $memperc% ${alignr}${membar 8,60}
SWAP: $swapperc% ${alignr}${swapbar 8,60}
HD ${hr 2}
${voffset 0}Root:
${voffset 0}${fs_free /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${voffset 0}Home:
${voffset 0}${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
${voffset 0}OptimusPrime:
${voffset 0}${fs_free /media/OptimusPrime}/${fs_size /media/OptimusPrime} ${alignr}${fs_bar 8,60 /home}
${voffset 0}Megatron:
${voffset 0}${fs_free /media/Megatron}/${fs_size /media/Megatron} ${alignr}${fs_bar 8,60 /home}
${color white}Top Processes ${hr 2}
${color white}Name PID CPU% MEM%
$color ${top name 1}${alignr}${top pid 1} ${top cpu 1} ${top mem 1}
$color ${top name 2}${alignr}${top pid 2} ${top cpu 2} ${top mem 2}
$color ${top name 3}${alignr}${top pid 3} ${top cpu 3} ${top mem 3}
$color ${top name 4}${alignr}${top pid 4} ${top cpu 4} ${top mem 4}
${color white}Mem Usage
$color ${top_mem name 1} ${alignr}${top_mem pid 1} ${alignr}${top_mem cpu 1} ${alignr}${top_mem mem 1}
$color ${top_mem name 2} ${alignr}${top_mem pid 2} ${alignr}${top_mem cpu 2} ${alignr}${top_mem mem 2}
$color ${top_mem name 3} ${alignr}${top_mem pid 3} ${alignr}${top_mem cpu 3} ${alignr}${top_mem mem 3}
$color ${top_mem name 4} ${alignr}${top_mem pid 4} ${alignr}${top_mem cpu 4} ${alignr}${top_mem mem 4}
${color white}Ports${hr 2}
#Connections
Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768 61000 count}${alignr}ALL: ${tcp_portmon 1 65535 count}
${color white}Inbound Connection ${alignr} Local Service/Port$color
${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
${color white}Outbound Connection ${alignr} Remote Service/Port$color
${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
${color white}Network ${hr 2}
${color white}Download:${color white} ${downspeed eth0} k/s${color white}${offset 80}
${color white}${downspeedgraph eth0 32,150 000000 7f8ed3}
Upload:${color white} ${upspeed eth0} k/s
${color white}${upspeedgraph eth0 32,150 000000 7f8ed3}
${color white}Address: ${color white}${addr eth0}${alignr}
${color white}TCP Connections: ${color white}${tcp_portmon 1 65535 count}
Any ideas for how to fix this?
Thank you!I'm using xcompmgr which seems to be much faster than cairo-compmgr and I don't t have this problem.
Having said that, here is the relevant portion from my .conkyrc:
own_window yes
own_window_type override
own_window_hints below
own_window_argb_value 100
Last edited by oboedad55 (2011-11-08 22:46:06) -
Why is the menu bar and dock staying on top when trying to watch videos on Safari/Chrome?
I just re-installed OS X Yosemite on my macbook pro. When i try to full screen videos (such as Netflix) on Safari, Chrome, etc. the menu bar stays on top of the screen, as well as the dock. The only work around is to open the browser in full screen and then hit full screen when watching the video. This was never the case before on Yosemite or other OS X versions....
Thanks!Hello ToriTorres,
You question seems quite general, and this is a CQ5 dedicated forum dealing with CQ specific questions. If your problem is linked with Adobe Flash Player, please try to post in the corresponding forum http://forums.adobe.com/community/flashplayer
Regards -
'separate video window' has no always-on-top option in miniplayer mode
In miniplayer mode, the control panel can stay on top, but the video widow can't. This defeats the purpose of keeping the miniplayer on top.
I hope this, and all the other problems are rectified in the next release.On most models, performing a factory reset will cause the TV to go through the initial setup, allowing you to specify its location. However, I don't see your model listed in our database. If it's not a US unit, you may want to contact Toshiba in your region.
- Peter -
Iphone5s messaging. I delete a conversation and then that contact stays at top of my message list. How do I get rid of these so I can see active conversations easily?
Thanks! So much better
-
When I have my Firefox browser running, if I bring up a document from my computer, it appears briefly, then disappears behind the browser. It shows in the taskbar, but won't stay on top until I minimize all other windows.
Hi NicoMan,
According to your description ,we seem to suffer a performance issue here.
Have you tried to open the task manager to check the system performance ? Is there any specific process occupied many system resources ?Will the issue occur only with the specific applications ?
We can try to restart the Windows Explorer process to have a check.
If it only occurred with the spefcific two applications ,we can try to end the other application processes manually from the task manager to have a check .
If this is caused by the specific application ,we may need to look for help from the third party support considering they are all the third party applications .
Best regards
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Stay on Top vs modal error windows
I've noticed that if a window's properties include "Stay On Top" and a
modal error window is raised, you can't see the error. This can be a bit of
a problem, since you can't see what the error is before you acknowledge it,
but since the error window is modal, all focus is on it, even though it's
not visible.
Has anyone found a way around this?
BTW, we're using 3.0.M.2. Is this fixed in 3.5?
Thanks,
Craig.if you create your exe with mProjector you can use one of its
new AS
commands to do this.
setZOrder
http://www.screentime.com/software/mprojector/docs/mWin_setZOrder.htm
all APIS
http://www.screentime.com/software/mprojector/docs/index.html
Demo
http://www.screentime.com/software/mprojector/demo.html
mProjector installs new classes and help into Flash, to
enable them you
must build your app with mProjector (its input is your swf)
John Pattenden
Screentime Media - Flash Tools since 1997
http://www.screentime.com
Maybe you are looking for
-
Playback only stutters in preview screen, not full screen.
Brand new iMac 5k, maxed processor and graphics driver, and loaded up with 32gb of ram. Files live on internal 1tb drive. Originally 1080p 30fps MP4 with h.264 codec. Have created proxy, have optimized, have used compressor to switch to prores format
-
Have Adobe Xl and don't know what I need to copy and paste sections from a PDF file to Microsoft Word file. Please help
-
Best application for Standard Def DVD creation?
I have a bunch of MiniDV tapes shot in standard def that I want to make into DVDs for my family. I want to preserve as much picture quality as possible during the process and will be using transitions, overlays, and credits. I have used iMovie 08 and
-
Third Party LCD Monitors - using the DVI port.
More often than not, manufacturers of LCD monitors do not address the compatibility of their products with the Macintosh computer. If there is an entry regarding use of their monitor with the Mac, it shows the use of the VGA (analog) port or the need
-
Since installing Snow Leopard, I am having problems with photoshop CS4. It will hang, I can't select anything and under the file menu, Quit is grayed out. I have to do a force quit. I've reset the preferences several times. Ideas?