English
Forum

GridBOX in Choicebox

 
- Page 1 -



Ralph
Theobald
Hello ,

I have a GridBOX in a Choicebox gebastelt , unfortunately is the GridBOX
Not Available, how can I these enable.
CompileMarkSeparation
Set(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
 
Xprofan 10 , AMD Athlon 3000+, 1GB
03/08/07  
 



 
- Page 2 -



Rolf
Koch
parent contains the value 0
 
03/08/07  
 



 
- Page 3 -



CompileMarkSeparation
var PARENT&=call(__cf1&,65556,0,ComboLBox,0)
>

to Info: here becomes FindWindowExA called. for 65556 could one too %Desktop write and on %Desktop find itself in the rule several Window this class (see Tasks and Token).

Since I no XProfan10 have, give I The further Ursachenforschung first at times The others ex.
 
03/08/07  
 



alas Yes - and %Desktop is naturally not each system 65556 - How gesasgt, something windy the code....
 
03/08/07  
 




Ralph
Theobald
Hello ,

who becomes because same into breeze weg .

Vielen Thanks first all for rege Teilnahme on the trouble.

If I have your code something modifiziert. in the Interpreter walk the two versions
of course different, but tappt im dunkeln walk.
Compiled are you faith I do not To use
CompileMarkSeparation
Greeting Ralph

645 kB
Hochgeladen:03/08/07
Downloadcounter87
Download
 
Xprofan 10 , AMD Athlon 3000+, 1GB
03/08/07  
 




Ralph
Theobald
on any,

the two obigen versions walk only under Win XP, XProfan 10
with of/ one Version appear The List view, one clicking a entry on,the Result becomes
displayed.the box works again.

with the others Version can The Column adjust , one Result becomes
outputted, but only once.

Both together would ideal.

Compilat: 1: LV becomes displayed, Entries can select , go but
not outputted

Compilat 2: spending results only to each 3. Click,

under XProfan 8 , w2k works The box only short on

Greeting Ralph
 
Xprofan 10 , AMD Athlon 3000+, 1GB
03/08/07  
 




RGH
Ralph Theobald
under Win2k , XProfan 8 How with Andreas .


me wundert not, that Gridboxen not under XProfan 8 functions, there it The first since XProfan 10 gives!

Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
03/08/07  
 



RGH
me wundert not, that Gridboxen not under XProfan 8 functions, there it The first since XProfan 10 gives!
Roland


too The with XProfan10 compilierte EXE goes there not (You Scherzkecks You )
 
03/08/07  
 



Herjeh it went me in first line therefore on a Solution with Usermessages  umzustellen, %desktop  have I do not with 65556 meant - Have here in the haste To volatile recherchiert.
 
03/09/07  
 




Ralph
Theobald
If I one gridbox z.B. in a Rebar set, undertaking windows The
management the Controls , once I it anklicke.

I have me the lever the Listbox by the Callback provides.If someone
another Possibility knows , then since so.

i'll it time yet with the List view.dll try, but the goes probably neither.

as Solution can I me only present:

1. spending inside the Callbackroutine. (To costly)
2. the lever the Listbox without Callback (How?) ,then should Ifs method without
this ominösen Call klappen !?

it wundert me not ,that it with the Programming the Controls in Windoof evident none red filament gives. at that Rebar setting to the Control in that volume , windows fit automatically The Size the Controls on The Size the Bandes on.with the Choicebox functions the so not. take off a makes sense then the commands
Setparent ?

Greeting Ralph
 
Xprofan 10 , AMD Athlon 3000+, 1GB
03/09/07  
 




the lever the Listbox without Callback (How?) ,then should Ifs method without
this ominösen Call klappen !?


I know evtl. How, can I but not testing - no XP and no XProfan10, sorry. And if one on my endeavours of them I personally nothing do not have reacted, have so did i sometime no pleasure More - is still einsehbar - or? Tschau.

PS: One Tool, the to that example with the development such such very good services Leisten could, would Tasks and Token - there sees one quite very where it windy and is Why.
 
03/09/07  
 




Ralph
Theobald
Hello Andreas,
excuse , but I wished you not pass over.I have me with all bedankt
The me helped having.so meant so did i you.
unfortunately be I do not so one begnadeter Programmer as most here, therefore
question I Yes.
To task & Token : I have me the program installs, but I betreibe Profan only
as hobby, therefore need I always something longer circa me into new
programs einzuarbeiten.I have with Spy++ attempts The Messages abzufangen,
but without success.
I see the whole incidentally very How You, possible no undokumentierten command
or Tricksereien, The only on one computer,one Betriebssystem or of/ one
xprofanversion walk produce.

Vielen Thanks

Ralph
 
Xprofan 10 , AMD Athlon 3000+, 1GB
03/09/07  
 




And if one on my endeavours of them I personally nothing do not have reacted, have so did i sometime no pleasure More - is still einsehbar - or?


one well the You there with your opinion almost on my own dastehst.

interestingly would if you time my endeavours less ignore would you constantly hereon allude To must The Threads with less persönlichem affected To befüllen instead of with real Hilfestellungen. in the meantime having - if i remember rightly - too the a or others Admin you hereon hingewiesen sinngemäß something lockerer and hilfreicher To agieren. It can not concern that I me already in the Vorraus unwohl feel one Posting from you To reading. the latest Posting z.B. would have You you utterly jam can as well as warscheinlich the next. this Thread here becomes bereinigt once I mean new function as unhilfreich Mark fertiggeschrieben have. then fly anyway the whole derartige Garbage with a Click into Mülleimerregion and the Threads stay spare of persönlichem Blub. on my own already this Posting here of me - Why schreib ichs? because of AH.

me nervt the integrally sincere.
 
03/09/07  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

11.388 Views

Untitledvor 0 min.
RudiB.10/26/21
Christof Neuß09/18/18
rquindt04/25/18
Rainer Hoefs06/02/16
More...

Themeninformationen



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