OS/2 Reste

Fragen rund um diverse Windows-Versionen, ihr Verhalten unter Xbase++ und den Umgang mit der API

Moderator: Moderatoren

Antworten
Benutzeravatar
AUGE_OHR
Marvin
Marvin
Beiträge: 12903
Registriert: Do, 16. Mär 2006 7:55
Wohnort: Hamburg
Hat sich bedankt: 19 Mal
Danksagung erhalten: 44 Mal

OS/2 Reste

Beitrag von AUGE_OHR »

... findet man immer wieder in Xbase++ ;-)

ich bin zufällig auf die Website gestossen http://www.laser.ru/evgen/articles/ARTo ... s2p_0.html
in Chapter 19 fand ich die "Table 19.4 Static Control Styles" http://www.laser.ru/evgen/articles/ARTo ... 2p_19.html
Table 19.4 Static Control Styles
Style Description
SS_AUTOSIZE
Specifies that the control is to size itself so that its contents fit.
SS_BITMAP
Specifies that the control is to contain a bitmap, and the text of the control specifies the resource id of the bitmap. If the first byte of the text is hexadecimal x'FF', then the second and the third bytes are used as low and high word of the resource id of the bitmap to load, respectively. If the first byte of the text is '#', then the remainder of the text is considered to be an ASCII representation of the resource ID of the bitmap to load. If the text is empty or does not follow the above format, no bitmap is loaded.
SS_BKGNDFRAME
Creates a box whose color is that of the background. This is similar to, but not the same as, SS_GROUPBOX
SS_BKGNDRECT
Creates a solid rectangle whose color is that of the background.
SS_FGNDFRAME
Creates a box whose color is that of the foreground. This is similar to, but not the same as, SS_GROUPBOX
SS_FGNGRECT
Creates a solid rectangle whose color is that of the foreground. This is often used for background shadowing and very thick underlining.
SS_GROUPBOX
Creates a box as in SS_FGNDFRAME, except that the text of the static control is displayed in the top left of the box. This is used to group like controls together with an associated heading.
SS_HALFTONEFRAME
Creates a box that has a halftone outline. This is similar to, but not the same as, SS_GROUPBOX.
SS_HALFTONERECT
Creates a box filled with halftone shading. This is similar to, but not the same as, SS_GROUPBOX.
SS_ICON
The same as SS_BITMAP, except that the resource loaded is expected to be an icon or pointer instead of a bitmap.
SS_SYSICON
The same as SS_BITMAP, except that the resource ID that is specified in the text is interpreted as SPRT_ constant and is used to obtain a system icon as in the WinQuerySysPointer function.
SS_TEXT
Specifies that the static control is to display the text in the manner specified. See the following text for more information.
kommt einen doch irgendwie bekannt vor :-"
soweit sogut aber nun kommen wir zu Windows https://msdn.microsoft.com/en-us/librar ... s.85).aspx

Problem : ich weiss bei einigen die Xbase++ (OS/2) Konstanten nicht was ich als Windows Konstante nehmen soll ?

Code: Alles auswählen

   SS_BKGNDFRAME
   SS_BKGNDRECT
   SS_FGNDFRAME 	
   SS_FGNGRECT
   SS_HALFTONEFRAME
   SS_HALFTONERECT
umgekehrt gibt es eine Reihe "mehr" an Windows Konstanten ... mal sehen was man damit machen kann :idea:
gruss by OHR
Jimmy
Antworten