06-17-2004
22,
0
Join Date: Jan 2002
Last Activity: 13 January 2009, 5:22 PM EST
Posts: 22
Thanks Given: 0
Thanked 0 Times in 0 Posts
CDE Classification Banner
Hello;
I need to place a classification banner at the top of my Solaris 2.6 CDE Desktop. The Banner must be displayed in all CDE desktop sessions available on the CDE dashboard (1,2,3,4).
The Banner must remain anchored at the top of the CDE desktop and must not be able to be closed or hidden by other windows.
So far I have hit a brick wall on this. The closest I have come is trying to generate a banner (Push Button) using the following dtksh code.
#!/usr/dt/bin/dtksh
XtInitialize TOPLEVEL dttest1 Dtksh $0
XtSetValues $TOPLEVEL title:" "
#XtCreateManagedWidget BBOARD bboard XmBulletinBoard $TOPLEVEL \
# resizePolicy:RESIZE_NONE height:50 width:1280\
# background:Red
#XtCreateManagedWidget BUTTON pushbutton XmPushButton $BBOARD \
XtCreateManagedWidget BUTTON pushbutton XmPushButton $TOPLEVEL \
background:Red \
foreground:White \
labelString:"SECRET" \
height:50 width:1280 x:0 y:0 shadowThickness:3
XtRealizeWidget $TOPLEVEL
XtMainLoop
The problem is I can't figure out how to remove the CDE border, the CDE Open, Close and Iconify options, how to anchor it at the top, how to make it appear in all the workspaces and finally make the font larger.
Any and all help will be greatly appreciated.
Respectfully;
Mark K.