| |
|
|
Lefty | X-Profan 11.2 have there time a Question to Coisebox following construction Child&=Create("ChildWindow",%HWnd,"History",0,50,700,400) Childbox&=Create("ChoiceBox",Child&, 0, 0, 0, 690, 400)
The Box becomes now with AddStrings(Childbox&,File_Name_Temp$) filled. is it possible whom individual Einträgen a colour zuzuordnen? Textcolor works Yes unfortunately only DrawText
who knows densowas? Lefty |
|
|
| |
|
|
|
Lefty | I Please each Rechtschreibfehler To ignore (comes over ands over again time to) Schade, evident exists on this trouble no interest.
means I will my farbigen Objects each a number allocate, and the Selection moreover write. something umständlich, but to hardship ...
nevertheless thanks on Forum
Lefty |
|
|
| |
|
|
|
E.T. | So I can moreover simply nothing find.
Have something like time with Ner GridBOX made, must I time search ...
Gits because something like already time somewhere with of/ one Selection (Screenshot) ?? |
|
|
| XProfan X3Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 10/31/19 ▲ |
|
|
|
|
Georg Teles | Nunja, ChoiceBox (accurate said ComboBox) is something difficult To dye / self report: rechtsbündig / center is a challenge (in CSS/HTML is it against it simply) - self in the DLL of Sebastian (SKControl.dll) is it folgendermaßen realized: ( DLL here of Sebastian uploaded [...] )
there's The ListBox or GridBOX plainer To dye:
window 10,10-200,200
$H Messages.ph
$H windows.ph
$H Commctrl.ph
proc HdlgLvColorProc'----------------------------HdlgLvColorProc-------------------------
parameters wnd&,msg&,wparam&,lparam&
case msg&<>~WM_NOTIFY:return ~CallWindowProc(HdlgProc&,wnd&,msg&,wparam&,lparam&)
LvDraw#=Lparam&
case LvDraw#.Hwndfrom& <> Lv&:return ~DefWindowProc(wnd&,msg&,wparam&,lparam&)
case LvDraw#.Code&<>~NM_CUSTOMDRAW:return ~DefWindowProc(wnd&,msg&,wparam&,lparam&)
case LvDraw#.DrawStage& = ~CDDS_PREPAINT :return ~CDRF_NOTIFYITEMDRAW
case LvDraw#.DrawStage& = ~CDDS_ITEMPREPAINT:return ~CDRF_NOTIFYSUBITEMDRAW
if LvDraw#.DrawStage& = ~CDDS_SUBITEM | ~CDDS_ITEMPREPAINT
LvDraw#.Textbk&=rgb(25,255,255)
endif
return ~CDRF_DODEFAULT
endproc'---------------------------------------------------------------------------------
var Lv&=create("gridbox",%hwnd,"Test",0,10,10,150,100)
addstring(Lv&,"Test")
declare LvDraw#
struct LvDraw= HwndFrom&,idFrom&,Code&,DrawStage&,Hdc&,Rect#(16),ItemSpec&,ItemState&,ItemLparam&,Text&,Textbk&,SubItem&
dim LvDraw#,LvDraw
Set("FastMode",1)
var HdlgProc&=~SetWindowLong(%hwnd,~GWL_WNDPROC,procaddr(HdlgLvColorProc,4) )
~RedrawWindow(Lv&,0,0,$485)
while 1
waitinput
endwhile
Regards |
|
|
| |
|
|
|
Lefty | The Dll of Sebastian sees already integrally nice from, bring me but not really moreover. It's all right not therefore whom Text altogether To dye. The Problematik is following. I have one Program to analysis of Ballläufen geschrieben; for Sportart bowling. now can I each individual fling present, and give eachone this Laufbahnen a Own colour. whom names the suitable line carry I subsequently into Box one, so the in the Box z.B. 10 lines stand. trouble: if I now z.B. whom names the red line know wants would it naturally cool if the name in the Box with the equal colour as line displayed becomes. momentarily beschränke I on 10 colours, and numeriere these through. into Box write I to whom LinienName first The suitable number for colour. so can I naturally immediate The names and lines identify. is only from the engineering since "Durch The bust in that eye schießen" your know I my: functions and well program are 2 things. |
|
|
| |
|
|
|
p.specht
| Gibt´s not somewhere a Vektorschrift, around the Bezeichner if need be yourself hinzumalen? I knows, not very elegant ... |
|
|
| XProfan 11Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'... | 11/06/19 ▲ |
|
|
|
|
Thomas Freier | In this case would I it with a Button to that one- / Hide of/ one List view (Franks dll) without Header
and text dye with
release.
it should too with the here zufindenen plv.pcu machbar his.
Greeting Thomas |
|
|
| Gruß Thomas Windows XP SP2, XProfan X2 | 11/06/19 ▲ |
|
|
|