| Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
| Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
| Moderator: | STAR::VATNE |
| Created: | Mon Oct 30 1989 |
| Last Modified: | Mon Dec 31 1990 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 3726 |
| Total number of notes: | 19516 |
Is there anyone know how to change the Slider_Pixmap of Scale widget ?
I tried it as following UIL file.
But, it does not work fine.
Is there any bugs in my file or DECwindows toolkit ?
-Toru.
module slider_test
version = 'v1.0'
names = case_sensitive
include file 'decw$include:DwtAppl.uil';
procedure
create_proc (integer);
value
white : color('White',foreground);
yellow : color('Yellow',foreground);
black : color('Black',foreground);
value
rgb : color_table ( white = '=',
yellow = '*',
black = ' ' );
pmap : icon ( color_table = rgb , '====== =====',
'===== ***** ====',
'=== ********* ==',
'== *********** =',
'== *********** =',
'= *** *** *** ',
'= *** *** *** ',
'= ************* ',
'= ************* ',
'= ** ******* ** ',
'== * ***** * =',
'== *** *** =',
'=== ********* ==',
'===== ***** ====',
'====== =====',
'================' );
object
helloworld_main : dialog_box {
arguments {
width = 500;
height = 500;
units = DwtPixelUnits;
background_pixmap = pmap;
};
controls {
scale scale1;
};
};
object
scale1: scale {
arguments {
x = 0;
y = 0;
min_value = 1;
max_value = 100;
width = 70;
scale_height = 16;
border_width = 0;
slider_pixmap = pmap ;
};
callbacks {
create = procedure create_proc(0);
};
};
end module;
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 1393.1 | Operator messages in the Session Manager window? | QUICHE::PITT | Suspend all hackers ... by the neck! | Thu Sep 07 1989 05:00 | 34 |
I would like to have operator messages enabled on my workstation in one of the windows, rather than at the top of the screen. There are two reasons for this: the first is that it is a nuisance having the operator window (?) appear each time and having to hit Ctrl/F2 to remove it, and the second is that this change frequently screws up the windows on the screen - I end up with random vertical stripes across the Icon Box and any other windows near the top of the screen. I am well aware of how to turn off the operator messages to the operator window. I am also well aware of how I can create a special window with Child and enable that one. However, there is already a Session Manager window on the screen, and I already look there for things like new mail announcements, so I thought I would put the operator messages there. That can't be difficult, I thought. I just have to do a Reply/Enable inside Decw$Login.Com, don't I? Well, I tried it, and nothing happened - not even an error message in Decw$Sm.Log. Once the login was complete, I "found" the TWA device associated with the Session Manager window, pointed Sys$Command to it, and did Reply/Enable. It worked. However, I didn't find an automatic way to locate this device ... Still trying, I put a Show Log/Job/Process into Decw$Login.Com. Sys$Command was pointing to a disk file. That explains why it doesn't work. So, now for my question: is it possible to automate the switching on of operator messages in the Session Manager window? If so, how? In case it is relevant, I am currently running T5.2-1 VMS with the embedded DECwindows kit. I shall go to X5.3 within the next few weeks however, so if the answer is different with the new version, I'd still be interested. T (P.S. I did look through a conference directory/Title=Reply and found nothing.) | |||||