| |
|
|
- Page 1 - |
|
Ralph Theobald | Hello ,
I have a GridBOX in a Choicebox gebastelt , unfortunately is the GridBOX Not Available, how can I these enable. CompileMarkSeparationSet(FastMode,1)
$H windows.ph
$H messages.ph
Declare oldcallback&,static&,brush&,raus&,hGrid&,titel$
cls
oldcallback&=~SetWindowLong(%hwnd,~GWL_WNDPROC,ProcAddr(newcallback,4))
static&=Create(choicebox,%hwnd,Choicebox,16,16,560,180)
WhileNot raus&
WaitInput
EndWhile
End
PROC setcolor
Parameters col&,bk&,wParam&
declare Brush&
IF Brush&
~DeleteObject(Brush&)
endif
Brush& = ~CreateSolidBrush(bk&)
~SetBkMode(wParam&, ~TRANSPARENT)
~SetBKColor(wParam&,RGB(195,116,95))
~SetTextColor(wParam&,col&)
RETURN Brush&
endproc
Proc newcallback
Parameters wnd&,msg&,wparam&,lparam&
IF msg&=~WM_CTLCOLOREDIT
RETURN SetColor(rgb(255,0,0),rgb(255,255,0),wParam&)
Endif
IF msg&=~WM_CTLCOLORLISTBOX
Titel$ = Links;0;80;Mitte;2;100;Rechts;1;80
hGrid&=Create(GridBox,lparam&, Titel$, 3,1,1,549,140)
AddString(hGrid&, AB|DEF|0123)
AddString(hGrid&, GHI|J23KL|012345)
IF brush&
~DeleteObject(brush&)
EndIf
brush&=~CreateSolidBrush(Rgb(0,0,255))
RETURN brush&
Endif
If msg&=~WM_CLOSE
~DeleteObject(brush&)
raus&=1
Endif
RETURN ~CallWindowProc(oldcallback&,wnd&,msg&,wparam&,lparam&)
s4 href='./../../Function-References/XProfan/endproc/'>ENDPROC
Greeting Ralph |
|
|
| |
|
|
| |
|
- Page 2 - |
|
|
Dietmar Horn | by me XP-Home runs it tadellos.
will be it tommorrow evening in the cabinet times under Win 95, Win 98, Win ME and Win 2000 testing.
Greeting Dietmar |
|
|
| Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V. [...] Windows 95 bis Windows 7 Profan² 6.6 bis XProfan X2 mit XPSE Das große XProfan-Lehrbuch: [...] | 03/08/07 ▲ |
|
|
|
|
Jörg Sellmeyer | one kanns naturally too simply so make: CompileMarkSeparationDeclare cb&,lv&
Cls
cb&=Create(ChoiceBox,%hwnd,0,10,10,500,20)
lv&=Create(GridBox,%hwnd,Spalte 1;0;100;Spalte 2;0;100;Spalte 3;0;100,0,10,30,500,0)
While 1
WaitInput
If GetFocus(cb&)
WhileLoop 100
SetWindowPos lv&=10,30 - 500,&Loop * 3;0
Wend
WaitInput
WhileLoop 100,0,-1
SetWindowPos lv&=10,30 - 500,&Loop * 3;0
Wend
SetWindowPos lv&,10,30 - 500,0;0
EndIf
Wend
|
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 03/08/07 ▲ |
|
|
|
|
| by me under windows2000 remaining The Choicebox ditto not correctly. open and is to the Aufklappen empty. can unfortunately only The EXE testing. |
|
|
| |
|
|
|
| I kanns by me unfortunately not to check on - but could time someone The Versionsresource 24 from IFs EXE Remove and the Proggi thereafter XP again testing? |
|
|
| |
|
|
|
Ralph Theobald | under Win XP ,XProfan 10 runs both The Griddboxspalten can not move and dye itself too not at touching with the mouse.
under Win2k , XProfan 8 How with Andreas .
me would nevertheless interested , Why the Focus at grid not functions. I try time one Static under the Grid To settle , Perhaps GEHTS then.
thanks
Ralph |
|
|
| |
|
|
|
| yet time I...
have furthermore whom local, that the on the Version the COMCTL32 lying. to that testing please times with of/ one PRFRUN32.EXE compilieren, from the The Versionsresource 24 removes watts. Runs it then too yet XP? |
|
|
| |
|
|
|
| Why kompilierst not self? |
|
|
| |
|
|
|
| Moin...
no XProfan 10, You Schlaumeier... Why testing your not self? so a windigen Kram use I so or so not . |
|
|
| |
|
|
|
| |
|
| |
|
|
|
Rolf Koch | *hüstel* iF? Ähem but under Vista is too no Content in the Choicebox. |
|
|
| |
|
|
|
| well Yes - apparently is not famous, Why the on older crutches not runs - means standing neither solid, whether it on neueren crutches always walk becomes. or I see the wrong? |
|
|
| |
|
|
|
Rolf Koch | parent contains the value 0 |
|
|
| |
|
|