English
Forum

Completed: User Messages

 

CB
Hi,
need time again fachmännische Help!

have to that einfacheren Handling several EditControls in a StaticControl abstracted - to folgendem schema:
CompileMarkSeparation
GroupBox5& = Create("GroupBox",%HWND,"",10,249,775,155)
GroupBox5& = Control("Static","",$50000009,10,258,775,148,%hwnd,3501,%Hinstance)  Control anlegen (weißer Rahmen)
WSText& = Create("Text",GroupBox5&,"WS :",8,12,32,17)
SetFont WSText&,Fett&
WS1& = Control("ComboBox","",$50000042,40,10,80,121,GroupBox5&,3013,%hinstance)
ClearList
AddString "ges. WS"
AddString "HWS"
AddString "BWS"
AddString "LWS"
AddString "HWS und BWS"
AddString "BWS und LWS"
AddString "HWS und LWS"
MoveListToChoice(WS1&)
ClearList
SendMessage(WS1&,$14E,0,0)
WS2& = Control("ComboBox","",$50000042,120,10,105,121,GroupBox5&,3014,%hinstance)
ClearList
AddString "frei"
AddString "klopfschmerzhaft"
MoveListToChoice(WS2&)
ClearList
SendMessage(WS2&,$14E,0,0<
lass=s2>)

there lying now means EditControls on one Static and this against on one TabControl.

so far functions too everything.
mere have I since then the trouble, that the inquire the status the individual Edits not any more functions. to that Breakpoint come I none More.

neckline from the Hauptschleife:
CompileMarkSeparation
ElseIf &ULParam = WS1&                            WS1& work out

 $B

If HiWord(&UWParam) = $01                      entry in WS1& chosen

    If (GetText$(WS1&) <> "ges. WS")

        SetFocus(WS2&)
        SendMessage(WS2&,$14E,1,0)

    Else

        SetFocus(WS2&)
        SendMessage(WS2&,$14E,0,0)

    EndIf

EndIf

ElseIf &ULParam = WS2&

Case HiWord(&UWParam) = $01: SetFocus(WS3&)     entry in WS2& chosen

The structure should the users etliches on Herumklicken save. If it a (designed) Sign in one area chosen has, go others boxes properly staid and the Focus too same there staid.

has of/ one of you a idea, where the Error lying could?

so on the side: with welchem Style wars I a welt analog to a GroupBox zustande?

Christian
 
XProfan 8/9.1, Win XP, AMD 64/3200
04/11/05  
 




Rolf
Koch
Hi Christian,
[quote:d2b61bdc66]
so on the side: with welchem Style wars I a welt analog to a GroupBox zustande?
[/quote:d2b61bdc66]
at least time moreover:
then kuck still in Roc, Perhaps gefällt you one welt, which so similar looks.

Rolf
 
04/11/05  
 



Christian - erfahrungsgemäß becomes one with such trouble seldom helped - be because - You erstellst time a smallest-lauffähige Variante which very the trouble created.

so kamma faster a Solution find - instead of first self this Konstrukt on The legs To to put.

i know I know - You hofftest someone resolved already one ähnliches trouble - but too The Solution zuzuordnen is anhand one lauffähigen Beispieles plainer.

salvo.
 
04/11/05  
 




CB
Hi,
@iF: have Yes - again - right.
the would Yes so, as täte I the mechanic ask, Why The stupid Karre in eachone curve scheppert and Have the thing To dwell stand. but somehow I had hold really hoped...

well well, have means my code so far gestrippt, that my Prob erkenntlich his ought to and the Simplicity halber The INC with ALLEN variables- and other DEFs complete included.
some is with the Aufräumaktion thereby too much deleted been, the does but nothing to thing.

The Entries under Cor and Pulmo are conventional in a Groupbox abstracted and react correctly.
but The Entries under WS (Control SkelettGrp) tuns not any more.

with one reason, and so I The Edits into Control to put wants, is, that so did i The elends many Einzeleinträge under TAB3_AKTIV or. TAB3_INAKTIV rid would like, and simply b.B. The jeweiligen Controls from- and einblende.

would be anyway for NEN hint very grateful.

Christian

18 kB
Hochgeladen:04/11/05
Downloadcounter65
Download
 
XProfan 8/9.1, Win XP, AMD 64/3200
04/11/05  
 




CB
Hi,
have unfortunately some überflüssigen code overlooking To delete. the can to a Error Message because of fehlender Registry-Entries lead.
therefore here ne verschlimmbesserte Version.

Christian

12 kB
Hochgeladen:04/11/05
Downloadcounter54
Download
 
XProfan 8/9.1, Win XP, AMD 64/3200
04/11/05  
 




Rolf
Koch
Hi Christian,
can time see, that one of Andreas Miethe really learn can

first integrally supra (but the have You faith I already?):
CompileMarkSeparation
SET("FASTMODE",1)
>

then under your row strain (means circa $4000):
CompileMarkSeparation
then a Proc create (my Lieblingstipp of Andreas):
CompileMarkSeparation
Def CallWindowProc(5) !"USER32","CallWindowProcA"
Declare OldStaticProc&,UOldStaticProc&,dlg2&

Proc DummyCallback

    Parameters wnd&,msg&,wparam&,lparam&

    If msg& = $0111

        Usermessage an %hwnd schicken
        Sendmessage(%hwnd,$4000,0,lParam&)

    Endif

    Return CallWindowProc(OldStaticProc&,wnd&,msg&,wparam&,lparam&)

CompileMarkSeparation
SKELETTGrp& = Control("Static","",$64000000,10,258,775,148,%hwnd,3501,%Hinstance,$010000)  Control lay out (weißer welt)
OldStaticProc& = SetWindowLong(SKELETTGrp&,-4,ProcAddr(DummyCallback,4))
WSText& = Create("Text",SKELETTGrp&,"WS :",8,13,32,17)
SetFont WSText&,Fett&
......

The inquire for the Sonderstatic Please then so inquire:
CompileMarkSeparation
If &ULParam = WS1&                            WS1& work out

    WAITINPUT	over again Waiting, because of ausklappen

    If (GetText$(WS1&) <> "ges. WS")

        SetFocus(WS2&)
        SendMessage(WS2&,$14E,1,0)

    Else

        SetFocus(WS2&)
        SendMessage(WS2&,$14E,0,0)

    EndIf

ENDIF


what about me hope, I nothing forget have and the part then just as well runs How by me.

Rolf
 
04/11/05  
 




CB
Hello, Rolf!
Vielen Thanks again for your trouble! i don't know, whether you my Message yesterday yet access has - the thing functions anyway perfect!
mail you in the evening, I everything from it made Have - become marvel!

Ciao, Christian
 
XProfan 8/9.1, Win XP, AMD 64/3200
04/12/05  
 




Rolf
Koch
the freut me very.
Rolf
 
04/12/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

2.688 Views

Untitledvor 0 min.
H.Brill05/20/23
Axel Berse09/24/19
jacdelad05/14/19
Ernst04/28/16
More...

Themeninformationen

this Topic has 3 subscriber:

CB (4x)
Rolf Koch (3x)
iF (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