English
Forum

Static Backgroundcolor determine, How?

 

Torsten
Rümker
Hi,
I have with this Befehlszeile:
CompileMarkSeparation
stEinstellungen&=Control(STATIC,,$54001106,2,30,265,280,Tab&,0,%Hinstance,$0)
>

one Static prepares, unfortunately is the background white, how can I The Backgroundcolor bearing?

MfG
Torsten
 
Ich lerne, ob ich will oder nicht!
Betriebssystem:
- Ubuntu 15.x
- Windows (diverse)
XProfan Version: X2
10/04/05  
 




Rolf
Koch
Hi,

there's with one Standartstatic 4 colours:
- $54001106 = wisely
- $54001104 = dunkelgrau
- $54001105 = hellgrau
- $54001106 = standart
and if you
- $5400110E take, can You one Bitmap produce
and allocate (see under)
(The I at least know)

otherwise must You, the Static dye:
CompileMarkSeparation
PROC FAERBESTATIC

    Declare wfb#,statbild&,h&,bild$
    Parameters statbild&,breitobj&,hochobj&,hwndfarb%
    bild$=DUMMY.BMP
    MCLS breitobj&,hochobj&
    STARTPAINT -1
    SetPixel 0,0,hwndfarb%
    Savebmp bild$,0,0-1,1;0
    ENDPAINT
    Dim wfb#,Add(Len(bild$),1)
    String wfb#,0=bild$
    Let h&=LoadImage(%hinstance,wfb#,0,breitobj&,hochobj&,$50)
    SendMessage(statbild&,$172,0,h&)
    DISPOSE wfb#
    ASSIGN #1,DUMMY.BMP
    ERASE #1

ENDPROC

Def LoadImage(6) !USER32,LoadImageA
DECLARE STATIC1&,STATIC2&,STATIC3&
CLS
STATIC1&=@Control(STATIC,,$5400110E,10,10,50,50,%HWND,$7918,%hinstance)
STATIC2&=@Control(STATIC,,$5400110E,65,10,50,50,%HWND,$7918,%hinstance)
STATIC3&=@Control(STATIC,,$5400110E,120,10,50,50,%HWND,$7918,%hinstance)
FAERBESTATIC STATIC1&,50,50,RGB(255,128,192)
Parameter: das Statichandle,Breite des Statics, Höhe des Statics,eine RGB-Farbe
FAERBESTATIC STATIC2&,50,50,RGB(0,0,255)
Parameter: das Statichandle,Breite des Statics, Höhe des Statics,eine RGB-Farbe
FAERBESTATIC STATIC3&,50,50,RGB(0,255,64)
Parameter: das Statichandle,Breite des Statics, Höhe des Statics,eine RGB-Farbe
WAITINPUT

hope its the what You seek.
Rolf
 
10/05/05  
 




Torsten
Rümker
Rolf Koch
there's with one Standartstatic 4 colours:
- $54001106 = wisely
- $54001104 = dunkelgrau
- $54001105 = hellgrau
- $54001106 = standart
- $54001102 = Standarthintergrundfarbe (apparently)


I have simply time moreover down tested To it fitting, thanks for hint!

MfG
Torsten
 
Ich lerne, ob ich will oder nicht!
Betriebssystem:
- Ubuntu 15.x
- Windows (diverse)
XProfan Version: X2
10/05/05  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

794 Views

Untitledvor 0 min.
H.Brill05/09/23
Sven Bader01/20/23
RudiB.05/08/21
Rainer Hoefs05/05/19
More...

Themeninformationen

this Topic has 2 subscriber:

Torsten Rümker (2x)
Rolf Koch (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie